tf.keras.utils.normalize

Stay organized with collections Save and categorize content based on your preferences.

TensorFlow 1 version View source on GitHub

Normalizes a Numpy array.

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

A normalized copy of the array.