torch.Tensor.bernoulli ====================== .. currentmodule:: torch .. automethod:: Tensor.bernoulli