UNetBlock<T>
Models & Types · AiDotNet.Diffusion.NoisePredictors
Structure for U-Net blocks containing residual, attention, and sampling layers.
Constructors
| Constructor | Summary |
|---|---|
UNetBlock() |
Properties
| Property | Summary |
|---|---|
ILayer<T> AttentionBlock { get; set; } |
|
ILayer<T> CrossAttentionBlock { get; set; } |
|
ILayer<T> Downsample { get; set; } |
|
ILayer<T> ResBlock { get; set; } |
|
ILayer<T> Upsample { get; set; } |
|
int AttentionChannels { get; set; } |
The channel width the attention blocks in this block were BUILT with. |