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