Class FusedConvBatchNormActivationOp
- Namespace
- AiDotNet.JitCompiler.IR.Operations
- Assembly
- AiDotNet.dll
Fused Conv2D + BatchNorm + Activation operation.
public class FusedConvBatchNormActivationOp : IROp
- Inheritance
-
FusedConvBatchNormActivationOp
- Inherited Members
Remarks
For Beginners: The complete CNN layer in one operation!
Combines:
- Convolution
- Batch normalization
- Activation (ReLU, etc.)
This is THE most common pattern in CNNs. Can be 3-5x faster than separate operations.
Properties
ActivationName
Gets or sets the activation function name.
public string ActivationName { get; set; }
Property Value
Epsilon
Gets or sets the batch norm epsilon.
public double Epsilon { get; set; }
Property Value
Momentum
Gets or sets the batch norm momentum.
public double Momentum { get; set; }
Property Value
Padding
Gets or sets the convolution padding.
public int[] Padding { get; set; }
Property Value
- int[]
Stride
Gets or sets the convolution stride.
public int[] Stride { get; set; }
Property Value
- int[]
Methods
Validate()
Validates inputs.
public override bool Validate()