mindspore.Tensor.bernoulli

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

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