Skip to content

sddmm

Module: strata.core • Kind: function
Source: strata/core/sparse_ops.mojo

def sddmm[dtype: DType](
A: Matrix[dtype],
B: Matrix[dtype],
S: CSRMatrix[dtype],
) -> CSRMatrix[ dtype ]
from strata.core import sddmm

Sampled Dense-Dense Matrix Multiplication: P = (A @ B) ⊙ S.