BatchNormalization
Currently, Serrano supports 2D BatchNormalization (API).
Notes
- The
inputTensors
andoutputTensors
should have same number of tensors. - There can be multiple tensors in
inputTensors
and all tensors ininputTensors
should have same shapes. Operator will do calculation for each input tensor independently.
Initialization
let bn = BatchNormOperator(channelOrder = TensorChannelOrder.Last)
channelOrder
. The feature channel.