mindspore.Tensor.bernoulli

View Source On Gitee
Tensor.bernoulli(p=0.5, seed=None)[source]

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