Table of Contents

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:

  1. Convolution
  2. Batch normalization
  3. 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

string

Epsilon

Gets or sets the batch norm epsilon.

public double Epsilon { get; set; }

Property Value

double

Momentum

Gets or sets the batch norm momentum.

public double Momentum { get; set; }

Property Value

double

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()

Returns

bool