pytorch
4a4520e7 - Retire unsafe sparse tensor constructors in Python API (#91331)

Commit
2 years ago
Retire unsafe sparse tensor constructors in Python API (#91331) This PR removes sparse tensor constructor functions `torch._sparse_coo/csr/csc/bsr/bsc/compressed_tensor_unsafe(...)` as unneeded. The equivalent functionality is provided via `torch.sparse_coo/csr/csc/bsr/bsc/compressed_tensor(..., check_invariants=False)` Pull Request resolved: https://github.com/pytorch/pytorch/pull/91331 Approved by: https://github.com/amjames, https://github.com/cpuhrsch
Author
Committer
Parents
Loading