22 references to arrayLength
Microsoft.ML.CpuMath.PerformanceTests (22)
SmallInputCpuMathPerformanceTests.cs (22)
17=> CpuMathUtils.Add(DefaultScale, dst.AsSpan(0, arrayLength)); 21=> CpuMathUtils.Scale(DefaultScale, dst.AsSpan(0, arrayLength)); 25=> CpuMathUtils.Scale(DefaultScale, src, dst, arrayLength); 29=> CpuMathUtils.ScaleAdd(DefaultScale, DefaultScale, dst.AsSpan(0, arrayLength)); 33=> CpuMathUtils.AddScale(DefaultScale, src, dst, arrayLength); 37=> CpuMathUtils.AddScale(DefaultScale, src, idx, dst, arrayLength); 41=> CpuMathUtils.AddScaleCopy(DefaultScale, src, dst, result, arrayLength); 45=> CpuMathUtils.Add(src, dst, arrayLength); 49=> CpuMathUtils.Add(src, idx, dst, arrayLength); 53=> CpuMathUtils.MulElementWise(src1, src2, dst, arrayLength); 57=> CpuMathUtils.Sum(new Span<float>(src, 0, arrayLength)); 61=> CpuMathUtils.SumSq(new Span<float>(src, 0, arrayLength)); 65=> CpuMathUtils.SumSq(DefaultScale, src.AsSpan(0, arrayLength)); 69=> CpuMathUtils.SumAbs(src.AsSpan(0, arrayLength)); 73=> CpuMathUtils.SumAbs(DefaultScale, src.AsSpan(0, arrayLength)); 77=> CpuMathUtils.MaxAbs(src.AsSpan(0, arrayLength)); 81=> CpuMathUtils.MaxAbsDiff(DefaultScale, src.AsSpan(0, arrayLength)); 85=> CpuMathUtils.DotProductDense(src, dst, arrayLength); 89=> CpuMathUtils.DotProductSparse(src, dst, idx, arrayLength); 93=> CpuMathUtils.L2DistSquared(src, dst, arrayLength); 97=> CpuMathUtils.SdcaL1UpdateDense(DefaultScale, arrayLength, src, DefaultScale, dst, result); 101=> CpuMathUtils.SdcaL1UpdateSparse(DefaultScale, arrayLength, src, idx, DefaultScale, dst, result);