mindspore.Tensor.where

Tensor.where(condition, y)[source]

For details, please refer to mindspore.ops.where().