latest (dev)
Copy
Latest development documentation · Updated 2026-10-15
tensorplay.sspaddmm
- tensorplay.sspaddmm(input, mat1, mat2, *, beta=1, alpha=1, out=None) Tensor[source]
Matrix multiplies a sparse tensor
mat1with a dense tensormat2, then adds the sparse tensorinputto the result.Note: This function is equivalent to
tensorplay.addmm(), exceptinputandmat1are sparse.- Parameters:
- Keyword Arguments:
beta (Number, optional) – multiplier for
mat()alpha (Number, optional) – multiplier for mat1 @ mat2 ()
out (Tensor, optional) – the output tensor.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

