mindspore.Tensor.where ======================= .. py:method:: mindspore.Tensor.where(condition, y) -> Tensor 详情请参考 :func:`mindspore.ops.where`。 .. warning:: 2.9.0(不含)之后版本非兼容性变更:参数名 `y` 修改为 `other`。