torch.bernoulli (input, *, generator=None, out=None) → Tensor. Draws binary random numbers (0 or 1) from a Bernoulli distribution.
確定! 回上一頁