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