DiTBlock<T>

Models & Types · AiDotNet.Diffusion.NoisePredictors

Block structure for DiT transformer layers containing attention, MLP, and conditioning layers.

Constructors

Constructor Summary
DiTBlock()

Properties

Property Summary
DenseLayer<T> AdaLNModulation { get; set; }
DenseLayer<T> CrossAttnK { get; set; }
DenseLayer<T> CrossAttnOut { get; set; }
DenseLayer<T> CrossAttnQ { get; set; }
DenseLayer<T> CrossAttnV { get; set; }
DenseLayer<T> MLP1 { get; set; }
DenseLayer<T> MLP2 { get; set; }
LayerNormalizationLayer<T> CrossAttnNorm { get; set; }
LayerNormalizationLayer<T> Norm1 { get; set; }
LayerNormalizationLayer<T> Norm2 { get; set; }
SelfAttentionLayer<T> Attention { get; set; }