torch.Tensor.sparse\_dim ======================== .. currentmodule:: torch .. automethod:: Tensor.sparse_dim