LayerNorm#
- class LayerNorm(normalized_shape, eps=1e-05, affine=True, **kwargs)[源代码]#
Simple implementation of LayerNorm. Support tensor of any shape as input. Reference: https://arxiv.org/pdf/1803.08494.pdf.
Simple implementation of LayerNorm. Support tensor of any shape as input. Reference: https://arxiv.org/pdf/1803.08494.pdf.