BatchNorm Constructor (Int32, Single, String, String, String, String, Boolean, Single, Single)
Initializes a new instance of the BatchNorm class.
Namespace:
SiaNet.Model.LayersAssembly: SiaNet (in SiaNet.dll)
Syntax
public BatchNorm( int shape, float epsilon, string betaInitializer, string gammaInitializers, string runningMeanInitializer, string runningStdInvInitializer, bool spatial, float normalizationTimeConstant, float blendTimeConst )
Parameters
- shape
- Type: Int32
The input shape for batch norm layer.
- epsilon
- Type: Single
Small float added to variance to avoid dividing by zero.
- betaInitializer
- Type: String
Initializer for the beta weight.
- gammaInitializers
- Type: String
Initializer for the gamma weight.
- runningMeanInitializer
- Type: String
Initializer for the running mean weight.
- runningStdInvInitializer
- Type: String
Initializer for the running standard inv weight.
- spatial
- Type: Boolean
Boolean, if yes the input data is spatial (2D). If not, then sets to 1D
- normalizationTimeConstant
- Type: Single
The time constant in samples of the first-order low-pass filter that is used to compute mean/variance statistics for use in inference
- blendTimeConst
- Type: Single
The blend time constant in samples.