10 writes to
Microsoft.ML.CpuMath (8)
AlignedMatrix.cs (5)
110
_items
[
index] = value;
133
_items
[
i] = rand();
363
Items
[
k + j] = rand();
640
Items
[
row + col * RowCountPhy] = src[ivSrc++];
658
Items
[
row + col * ColCountPhy] = 0;
CpuMathUtils.netcoreapp.cs (3)
83
destination
[
i] = dotProduct;
97
destination
[
i] = dotProduct;
152
destination
[
i] = dotProduct;
Microsoft.ML.Tests (2)
TrainerEstimators\MatrixFactorizationTests.cs (2)
829
leftFactorMatrixAligned
[
i] = leftFactorMatrix[i];
834
rightFactorVectorAligned
[
i] = model.Model.RightFactorMatrix[1 * k + i]; // value at the i-th row and j-th column is indexed by i * k + j.
14 references to
Microsoft.ML.CpuMath (13)
AlignedMatrix.cs (7)
105
return _items
[
index];
122
return _items
[
i];
221
yield return _items
[
i];
488
yield return Items
[
ivBase + col];
608
dst[ivDst++] = Items
[
row + col * RowCountPhy];
625
dst[ivDst++] = Items
[
row + col * RowCountPhy];
670
yield return Items
[
row + col * RowCountPhy];
CpuMathUtils.netcoreapp.cs (6)
80
dotProduct += matrix
[
i * source.Size + j] * source
[
j];
94
dotProduct += matrix
[
j * destination.Size + i] * source
[
j];
150
dotProduct += matrix
[
i * sourceValues.Size + col] * sourceValues
[
col];
Microsoft.ML.Tests (1)
TrainerEstimators\MatrixFactorizationTests.cs (1)
845
Assert.Equal((double)predictions[i].Score, (double)valuesAtSecondColumn
[
i], 0.001);