On this page
torch.sspaddmm
torch.sspaddmm(input, mat1, mat2, *, beta=1, alpha=1, out=None) → Tensor- 
    
Matrix multiplies a sparse tensor
mat1with a dense tensormat2, then adds the sparse tensorinputto the result.Note: This function is equivalent to
torch.addmm(), exceptinputandmat1are sparse.- Parameters
 - Keyword Arguments
 - 
      
- beta (Number, optional) – multiplier for 
mat( ) - alpha (Number, optional) – multiplier for ( )
 - out (Tensor, optional) – the output tensor.
 
 - beta (Number, optional) – multiplier for 
 
 
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
 https://pytorch.org/docs/2.1/generated/torch.sspaddmm.html