


x.to_sparse(layout=torch.sparse_csr, blocksize=(3, 1))
      RuntimeError: to_sparse for Strided to SparseCsr conversion does not use specified blocksize



  >>> x = torch.tensor([[[1], [0]], [[0], [0]], [[2], [3]]])
  >>> x.to_sparse(layout=torch.sparse_csr, dense_dim=1)
  tensor(crow_indices=tensor([0, 1, 1, 3]),
         col_indices=tensor([0, 0, 1]),
         values=tensor([[1],
                        [2],
                        [3]]), size=(3, 2, 1), nnz=3, layout=torch.sparse_csr)
