2 writes to RotationTerms
Microsoft.ML.Transforms (2)
RandomFourierFeaturizing.cs (2)
125
RotationTerms
= _useSin ? null : new AlignedArray(roundedUpD, CpuMathUtils.GetVectorAlignment());
159
RotationTerms
= _useSin ? null : new AlignedArray(roundedUpD, CpuMathUtils.GetVectorAlignment());
5 references to RotationTerms
Microsoft.ML.Transforms (5)
RandomFourierFeaturizing.cs (5)
195
RotationTerms
[i] = (_rand.NextSingle() - (float)0.5) * (float)Math.PI;
489
_types[i] = new VectorDataViewType(NumberDataViewType.Single, _parent._transformInfos[i].
RotationTerms
== null ?
555
if (transformInfo.
RotationTerms
!= null)
587
if (transformInfo.
RotationTerms
!= null)
588
dstEditor.Values[i] = (float)MathUtils.Cos(dotProduct + transformInfo.
RotationTerms
[i]) * scale;