Implementation of the paper: Layer Normalization
pip install torch-layer-normalization
from torch_layer_normalization import LayerNormalization
LayerNormalization(normal_shape=normal_shape)
# The `normal_shape` could be the last dimension of the input tensor or the shape of the input tensor.