mindspore.Tensor.where

mindspore.Tensor.where(condition, y) Tensor[源代码]

详情请参考 mindspore.ops.where()

警告

2.9.0(不含)之后版本非兼容性变更:参数名 y 修改为 other