2 writes to NewDim
Microsoft.ML.Transforms (2)
RandomFourierFeaturizing.cs (2)
112NewDim = column.Rank; 142NewDim = ctx.Reader.ReadInt32();
18 references to NewDim
Microsoft.ML.Transforms (18)
RandomFourierFeaturizing.cs (18)
113host.CheckUserArg(NewDim > 0, nameof(column.Rank)); 122int roundedUpD = RoundUp(NewDim, _cfltAlign); 143env.CheckDecode(NewDim > 0); 156int roundedUpD = RoundUp(NewDim, _cfltAlign); 174ctx.Writer.Write(NewDim); 185for (int i = 0; i < NewDim; i++) 203GetDRotationTerms(NewDim); 490_parent._transformInfos[i].NewDim * 2 : _parent._transformInfos[i].NewDim); 518var productAligned = new AlignedArray(RoundUp(_parent._transformInfos[iinfo].NewDim, _cfltAlign), CpuMathUtils.GetVectorAlignment()); 535var productAligned = new AlignedArray(RoundUp(_parent._transformInfos[iinfo].NewDim, _cfltAlign), CpuMathUtils.GetVectorAlignment()); 557newDstLength = transformInfo.NewDim; 558scale = MathUtils.Sqrt(2.0f / transformInfo.NewDim); 562newDstLength = 2 * transformInfo.NewDim; 563scale = MathUtils.Sqrt(1.0f / transformInfo.NewDim); 570transformInfo.NewDim); 580srcValues.Length, productAligned, transformInfo.NewDim); 584for (int i = 0; i < transformInfo.NewDim; i++)