group_normalization(x, groups, gamma, beta, eps=1e-05)¶
Group normalization function.
This function implements a “group normalization” which divides the channels into groups and computes within each group the mean and variance, then normalize by these statistics, scales and shifts them.
- x (
Variableor N-dimensional array) – Batch tensors. First dimension of this value must be the size of minibatch and second dimension must be the number of channels. Moreover, this value must have one or more following dimensions, such as height and width.
- groups (int) – The number of channel groups. This value must be a divisor of the number of channels.
- gamma (
Variableor N-dimensional array) – Scaling parameter.
- beta (
Variableor N-dimensional array) – Shifting parameter.
- eps (float) – Epsilon value for numerical stability of normalization.
The output variable which has the same shape as \(x\).
See: Group Normalization
- x (