# tf.keras.utils.normalize

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v2.14.0/keras/utils/np_utils.py#L128-L142) |

Normalizes a Numpy array.

    tf.keras.utils.normalize(
        x, axis=-1, order=2
    )

<br />

<br />

<br />

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

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A normalized copy of the array. ||

<br />