ray.tune.quniform#
- ray.tune.quniform(lower: float, upper: float, q: float)[source]#
Sample a quantized float value uniformly between
lower
andupper
.Sampling from
tune.uniform(1, 10)
is equivalent to sampling fromnp.random.uniform(1, 10))
The value will be quantized, i.e. rounded to an integer increment of
q
. Quantization makes the upper bound inclusive.