PyTorch笔记 - Batch\Layer\Instance\Group\Weight Normalization 源码

欢迎关注我的CSDN:https://blog.csdn.net/caroline_wendy
本文地址:https://blog.csdn.net/caroline_wendy/article/details/128416962

PyTorch笔记 - Batch\Layer\Instance\Group\Weight Normalization 源码_第1张图片

Normalization in NN:

  1. Batch Normalization:
    1. per channel across mini-batch
    2. torch.nn.BatchNorm1d / torch.nn.BatchNorm2d
  2. Layer Normalization:
    1. per sample, per layer
    2. torch.nn.LayerNorm
  3. Instance Normalization:
    1. per sample, per channel
    2. torch.nn.InstanceNorm1d / torch.nn.InstanceNorm2d
  4. Group Normalization:
    1. per sample, per group
    2. torch.nn.GroupNorm
  5. Weight Norm

你可能感兴趣的:(深度学习,pytorch,batch,深度学习)