10 references to DotProductSparse
Microsoft.ML.CpuMath.PerformanceTests (1)
SmallInputCpuMathPerformanceTests.cs (1)
89=> CpuMathUtils.DotProductSparse(src, dst, idx, arrayLength);
Microsoft.ML.CpuMath.UnitTests (1)
UnitTests.cs (1)
859var actual = CpuMathUtils.DotProductSparse(src, dst, idx, limit);
Microsoft.ML.Data (6)
Deprecated\Vector\VectorUtils.cs (6)
38return CpuMathUtils.DotProductSparse(a, bValues, b.GetIndices(), bValues.Length); 54return CpuMathUtils.DotProductSparse(aValues, bValues, b.GetIndices(), bValues.Length); 58return CpuMathUtils.DotProductSparse(bValues, aValues, a.GetIndices(), aValues.Length); 228var dotP = CpuMathUtils.DotProductSparse(valuesA, valuesB, indicesB, valuesB.Length); 264return CpuMathUtils.DotProductSparse(aValues.Slice(offset), bValues, b.GetIndices(), bValues.Length); 314return CpuMathUtils.DotProductSparse(a.AsSpan(offset), bValues, b.GetIndices(), bValues.Length);
Microsoft.ML.Mkl.Components (2)
VectorWhitening.cs (2)
702editor.Values[i] = CpuMathUtils.DotProductSparse(model.AsSpan(offs), values, indices, count); 712return CpuMathUtils.DotProductSparse(a.AsSpan(aOffset), b, indices, count);