mindspore.Tensor.bernoulli

Tensor.bernoulli(p=0.5, seed=None)[source]

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