21 references to Size
Microsoft.ML.CpuMath (21)
AlignedMatrix.cs (3)
74
Contracts.Assert(0 < _size && _size <= _items.
Size
);
77
for (int i = _size; i < _items.
Size
; i++)
330
Contracts.Assert(RunLenPhy * RunCntPhy == Items.
Size
);
CpuAligenedMathUtils.cs (2)
75
Contracts.Assert(m.ColCountPhy == A(src).Items.
Size
);
76
Contracts.Assert(m.RowCountPhy == A(dst).Items.
Size
);
CpuMathUtils.netstandard.cs (15)
33
Contracts.Assert(a.
Size
> 0);
63
Contracts.Assert(mat.
Size
== dst.
Size
* src.
Size
);
73
Contracts.Assert(0 <= crun && crun <= dst.
Size
);
74
Thunk.MatMul(Ptr(mat, pmat), Ptr(src, psrc), Ptr(dst, pdst), crun, src.
Size
);
78
Contracts.Assert(0 <= crun && crun <= src.
Size
);
79
Thunk.MatMulTran(Ptr(mat, pmat), Ptr(src, psrc), Ptr(dst, pdst), dst.
Size
, crun);
92
Contracts.Assert(mat.
Size
== dst.
Size
* srcValues.
Size
);
107
Contracts.Assert(0 <= crun && crun <= dst.
Size
);
108
Thunk.MatMulP(Ptr(mat, pmat), ppossrc, Ptr(srcValues, psrc), posMin, iposMin, iposLim, Ptr(dst, pdst), crun, srcValues.
Size
);
244
Thunk.ZeroItemsU(Ptr(dst, pdst), dst.
Size
, pi, indices.Length);
246
Thunk.ZeroMatrixItemsCore(Ptr(dst, pdst), dst.
Size
, ccol, cfltRow, pi, indices.Length);
FactorizationMachine\FactorizationMachineInterface.cs (1)
19
Contracts.Assert(a.
Size
> 0);