Shortcuts

Function at::histogram(const at::Tensor&, const at::Tensor&, const ::std::optional<at::Tensor>&, bool)

Function Documentation

inline ::std::tuple<at::Tensor, at::Tensor> at::histogram(const at::Tensor &self, const at::Tensor &bins, const ::std::optional<at::Tensor> &weight = {}, bool density = false)

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