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