12 references to CopyFrom
Microsoft.ML.CpuMath (2)
AlignedMatrix.cs (2)
183_items.CopyFrom(src.AsSpan(index, _size)); 466Items.CopyFrom(src.AsSpan(ivSrc, ValueCount));
Microsoft.ML.CpuMath.PerformanceTests (3)
PerformanceTests.cs (3)
108testMatrixAligned.CopyFrom(src.AsSpan(0, (matrixLength - 1) * (matrixLength - 1))); 111testSrcVectorAligned.CopyFrom(src1.AsSpan(0, matrixLength - 1)); // odd input 114testDstVectorAligned.CopyFrom(dst.AsSpan(0, matrixLength));
Microsoft.ML.CpuMath.UnitTests (6)
UnitTests.cs (6)
71testMatrixAligned1.CopyFrom(testMatrix1); 72testMatrixAligned2.CopyFrom(testMatrix2); 82testSrcVectorAligned1.CopyFrom(testSrcVector1); 83testSrcVectorAligned2.CopyFrom(testSrcVector2); 93testDstVectorAligned1.CopyFrom(testDstVector1); 94testDstVectorAligned2.CopyFrom(testDstVector2);
Microsoft.ML.Transforms (1)
RandomFourierFeaturizing.cs (1)
568featuresAligned.CopyFrom(src.GetValues());