ray.tune.qrandn#

ray.tune.qrandn(mean: float, sd: float, q: float)[source]#

Sample a float value normally with mean and sd.

The value will be quantized, i.e. rounded to an integer increment of q.

Parameters:
  • mean – Mean of the normal distribution.

  • sd – SD of the normal distribution.

  • q – Quantization number. The result will be rounded to an integer increment of this value.