RandomFourierFeaturizing.cs (7)
122int roundedUpD = RoundUp(NewDim, _cfltAlign);
123int roundedUpNumFeatures = RoundUp(SrcDim, _cfltAlign);
156int roundedUpD = RoundUp(NewDim, _cfltAlign);
157int roundedUpNumFeatures = RoundUp(SrcDim, _cfltAlign);
518var productAligned = new AlignedArray(RoundUp(_parent._transformInfos[iinfo].NewDim, _cfltAlign), CpuMathUtils.GetVectorAlignment());
534var featuresAligned = new AlignedArray(RoundUp(1, _cfltAlign), CpuMathUtils.GetVectorAlignment());
535var productAligned = new AlignedArray(RoundUp(_parent._transformInfos[iinfo].NewDim, _cfltAlign), CpuMathUtils.GetVectorAlignment());