Shortcuts

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

Function Documentation

inline at::Tensor &at::bernoulli_outf(const at::Tensor &self, const at::Tensor &p, ::std::optional<at::Generator> generator, at::Tensor &out)

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources