tf.keras.utils.normalize

Normalizes a Numpy array.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.keras.utils.normalize

x Numpy array to normalize.
axis axis along which to normalize.
order Normalization order (e.g. order=2 for L2 norm).

A normalized copy of the array.