1 write to Items
Microsoft.ML.CpuMath (1)
AlignedMatrix.cs (1)
319Items = new AlignedArray(RunLenPhy * RunCntPhy, cbAlign);
22 references to Items
Microsoft.ML.CpuMath (22)
AlignedMatrix.cs (19)
330Contracts.Assert(RunLenPhy * RunCntPhy == Items.Size); 336Contracts.Assert(Items[i * RunLenPhy + j] == 0); 343Contracts.Assert(Items[i * RunLenPhy + j] == 0); 363Items[k + j] = rand(); 373Items.ZeroItems(); 389Items.CopyFrom(src.Items); 438Items.CopyTo(0, dst, ivDst, ValueCount); 447Items.CopyTo(ivSrc, dst, ivDst, ColCount); 466Items.CopyFrom(src.AsSpan(ivSrc, ValueCount)); 473Items.CopyFrom(row * ColCountPhy, src.AsSpan(ivSrc, ColCount)); 488yield return Items[ivBase + col]; 542Items.CopyTo(row * ColCountPhy, dst, ivDst, ColCount); 556CpuMathUtils.ZeroMatrixItems(Items, ColCount, ColCountPhy, indices); 608dst[ivDst++] = Items[row + col * RowCountPhy]; 625dst[ivDst++] = Items[row + col * RowCountPhy]; 640Items[row + col * RowCountPhy] = src[ivSrc++]; 658Items[row + col * ColCountPhy] = 0; 670yield return Items[row + col * RowCountPhy];
CpuAligenedMathUtils.cs (3)
22Contracts.Assert((mat.Items.CbAlign % CpuMathUtils.GetVectorAlignment()) == 0); 91CpuMathUtils.MatrixTimesSource(colMajor, m.Items, A(src).Items, A(dst).Items, m.RunCnt); 106CpuMathUtils.MatrixTimesSource(!colMajor, m.Items, A(src).Items, A(dst).Items, m.RunCnt);