UNetUpBlock<T>
Layers ยท AiDotNet.NeuralNetworks.Layers
Upsampling block for U-Net decoder with skip connection concatenation.
Inheritance: LayerBase<T> โ UNetUpBlock<T>
Implements: IShapeContract
Constructors
| Constructor | Summary |
|---|---|
UNetUpBlock(int skipChannels, int outChannels) |
Properties
| Property | Summary |
|---|---|
bool SupportsTraining { get; } |
Methods
| Method | Summary |
|---|---|
IReadOnlyList<ILayer<T>> GetSubLayers() |
|
IReadOnlyList<OutputAxisContract> OutputAxesFor(int inputRank) |
|
Tensor<T> Forward(Tensor<T> input, Tensor<T> skip) |
|
ValueTuple<Tensor<T>, Tensor<T>> BackwardWithSkip(Tensor<T> outputGradient) |
|
void ResetState() |
|
void UpdateParameters(T learningRate) |