ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


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.