tf.experimental.numpy.where
Вариант TensorFlow для where из NumPy.
tf.experimental.numpy.where(
condition, x=None, y=None
)
Вызывает ValueError, если ровно одно из значений x или y равно None.
См. документацию NumPy для numpy.where.
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/experimental/numpy/where