Versioned name: BatchNormInference-1
Category: Normalization
Short description: BatchNormInference layer normalizes a input
tensor by mean
and variance
, and applies a scale (gamma
) to it, as well as an offset (beta
).
Attributes:
float
Inputs
input
- input tensor with data for normalization. At least a 2D tensor of type T, the second dimension represents the channel axis and must have a span of at least 1. Required.gamma
- gamma scaling for normalized value. A 1D tensor of type T with the same span as input's channel axis. Required.beta
- bias added to the scaled normalized value. A 1D tensor of type T with the same span as input's channel axis.. Required.mean
- value for mean normalization. A 1D tensor of type T with the same span as input's channel axis.. Required.variance
- value for variance normalization. A 1D tensor of type T with the same span as input's channel axis.. Required.Outputs
Types
Mathematical Formulation
BatchNormInference normalizes the output in each hidden layer.
Example