Reference Entry
sparseInnerProduct
API Reference · foundation · order 134
Computes the exact sparse inner product between two token-weight vectors.
Relevant APIs
sparseInnerProduct
Computes the exact sparse inner product between two token-weight vectors.
Declaration
function sparseInnerProduct(left: SparseVector, right: SparseVector): number