2 writes to _gamma
Microsoft.ML.Transforms (2)
FourierDistributionSampler.cs (2)
144
_gamma
= gamma / averageDistance;
167
_gamma
= ctx.Reader.ReadFloat();
4 references to _gamma
Microsoft.ML.Transforms (4)
FourierDistributionSampler.cs (4)
168
env.CheckDecode(FloatUtils.IsFinite(
_gamma
));
180
Contracts.Assert(FloatUtils.IsFinite(
_gamma
));
181
ctx.Writer.Write(
_gamma
);
186
return (float)Stats.SampleFromGaussian(rand) * MathUtils.Sqrt(2 *
_gamma
);