(input_tensor, name=None)
return tf.keras.layers.LayerNormalization(name="LayerNorm")(input_tensor)
Run layer normalization on the last dimension of the tensor.
Run layer normalization on the last dimension of the tensor.
Run layer normalization on the last dimension of the tensor .
def layer_norm(input_tensor, name=None):
  """Run layer normalization on the last dimension of the tensor."""
  # return tf.layers.layer_norm(
  #     inputs=input_tensor, begin_norm_axis=-1, begin_params_axis=-1, scope=name)
  return tf.keras.layers.LayerNormalization(name="LayerNorm")(input_tensor)
def layer_norm ( input_tensor , name = None ) : # return tf.layers.layer_norm( #     inputs=input_tensor, begin_norm_axis=-1, begin_params_axis=-1, scope=name) return tf . keras . layers . LayerNormalization ( name = "LayerNorm" ) ( input_tensor )