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