<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/python/ops/numpy_ops/np_array_ops.py#L1036-L1061) |

TensorFlow variant of NumPy's `take`.

    tf.experimental.numpy.take(
        a, indices, axis=None, out=None, mode='clip'
    )

out argument is not supported, and default mode is clip.

See the NumPy documentation for [`numpy.take`](https://numpy.org/doc/stable/reference/generated/numpy.take.html).