Sparse CSR tensors: storage access should throw (#70072)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70072
Like (sparse COO tensors), sparse CSR tensors don't really have an actual storage() that can be accessed, so sparsetensor->storage() should throw.
cc nikitaved pearu cpuhrsch
Test Plan: Imported from OSS
Reviewed By: mruberry
Differential Revision: D33181309
Pulled By: davidberard98
fbshipit-source-id: 8f1dc4da03073d807e5acee2ac47caeffb94b16c