tf.experimental.numpy.where

View source on GitHub

TensorFlow variant of NumPy's where.

Raises ValueError if exactly one of x or y is not None.

See the NumPy documentation for numpy.where.