group_norm¶
dragon.nn.group_norm(
inputs,
axis=- 1,
group=0,
epsilon=1e-05,
**kwargs
)[source]¶Apply the group normalization. [Wu & He, 2018].
The normalization is defined as:
groupcould be zero to apply the instance normalization:- Parameters:
- inputs (Sequence[dragon.Tensor]) – The tensor
x,gammaandbeta. - axis (int, optional, default=-1) – The channel axis.
- group (int, optional, default=0) – The group size.
- epsilon (float, optional, default=1e-5) – The value to .
- inputs (Sequence[dragon.Tensor]) – The tensor
- Returns:
dragon.Tensor – The output tensor.