欢迎关注我的CSDN:https://blog.csdn.net/caroline_wendy
本文地址:https://blog.csdn.net/caroline_wendy/article/details/128416962
Normalization in NN:
- Batch Normalization:
- per channel across mini-batch
torch.nn.BatchNorm1d
/torch.nn.BatchNorm2d
- Layer Normalization:
- per sample, per layer
torch.nn.LayerNorm
- Instance Normalization:
- per sample, per channel
torch.nn.InstanceNorm1d
/torch.nn.InstanceNorm2d
- Group Normalization:
- per sample, per group
torch.nn.GroupNorm
- Weight Norm