• Docs >
  • Library API >
  • Function at::_to_sparse_outf(const at::Tensor&, ::std::optional<at::Layout>, at::OptionalIntArrayRef, ::std::optional<int64_t>, at::Tensor&)
  • Edit on GitHub
Shortcuts

Function at::_to_sparse_outf(const at::Tensor&, ::std::optional<at::Layout>, at::OptionalIntArrayRef, ::std::optional<int64_t>, at::Tensor&)

Function Documentation

inline at::Tensor &at::_to_sparse_outf(const at::Tensor &self, ::std::optional<at::Layout> layout, at::OptionalIntArrayRef blocksize, ::std::optional<int64_t> dense_dim, 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