torch.nn.functional.layer_norm torch.nn.functional.layer_norm(input, normalized_shape, weight=None, bias=None, eps=1e-05) [source] Apply Layer Normalization for last certain number of dimensions. See LayerNorm for details. Return type Tensor