mindspore.Tensor.masked_fill

Tensor.masked_fill(mask, value) → Tensor[source]

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