torch.sparse — PyTorch 1.10.1 documentation
pytorch.org › docs › stableIn PyTorch, the fill value of a sparse tensor cannot be specified explicitly and is assumed to be zero in general. However, there exists operations that may interpret the fill value differently. For instance, torch.sparse.softmax () computes the softmax with the assumption that the fill value is negative infinity. Sparse CSR Tensor