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

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

Function Documentation

inline at::Tensor &at::_to_sparse_out(at::Tensor &out, const at::Tensor &self, ::std::optional<at::Layout> layout = ::std::nullopt, at::OptionalIntArrayRef blocksize = ::std::nullopt, ::std::optional<int64_t> dense_dim = ::std::nullopt)

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