# tf.experimental.numpy.select

<br />

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

TensorFlow variant of NumPy's `select`.

    tf.experimental.numpy.select(
        condlist, choicelist, default=0
    )

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