<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v2.15.0/keras/preprocessing/image.py#L2391-L2404) |

Performs a random channel shift.

    tf.keras.preprocessing.image.random_channel_shift(
        x, intensity_range, channel_axis=0
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | Input tensor. Must be 3D. |
| `intensity_range` | Transformation intensity. |
| `channel_axis` | Index of axis for channels in the input tensor. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Numpy image tensor. ||

<br />