mindspore.Tensor.masked_select

Tensor.masked_select(mask)[source]

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