mindspore.Tensor.nonzero

Tensor.nonzero(as_tuple=False)[source]

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