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