tf.keras.backend.l2_normalize

View source on GitHub

Normalizes a tensor wrt the L2 norm alongside the specified axis.

tf.keras.backend.l2_normalize(
    x, axis=None
)

Arguments:

Returns:

A tensor.