torch.nn.functional.layer_norm¶ torch.nn.functional.layer_norm(input, normalized_shape, weight=None, bias=None, eps=1e-05)[source][source]¶ 對最後特定數量的維度應用 Layer Normalization。 詳見 LayerNorm。 返回型別 Tensor