<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v3.15.1/keras/src/ops/numpy.py#L3818-L3823) |

Return `x[key]`.

#### View aliases


**Main aliases**

[`tf.keras.ops.numpy.get_item`](https://www.tensorflow.org/api_docs/python/tf/keras/ops/get_item)

<br />

    tf.keras.ops.get_item(
        x, key
    )