torch.hspmm
-
torch.hspmm(mat1, mat2, *, out=None) → Tensor -
Performs a matrix multiplication of a sparse COO matrix
mat1and a strided matrixmat2. The result is a (1 + 1)-dimensional hybrid COO matrix.
torch.hspmm(mat1, mat2, *, out=None) → Tensor Performs a matrix multiplication of a sparse COO matrix mat1 and a strided matrix mat2. The result is a (1 + 1)-dimensional hybrid COO matrix.
© 2025, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.9/generated/torch.hspmm.html