Rate this Page

Function at::bernoulli(const at::Tensor&, const at::Tensor&, ::std::optional<at::Generator>)#

Function Documentation#

inline at::Tensor at::bernoulli(const at::Tensor &self, const at::Tensor &p, ::std::optional<at::Generator> generator = ::std::nullopt)#