mindspore.Tensor.where

View Source On Gitee
Tensor.where(condition, y)[source]

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