- ray.tune.qlograndint(lower: int, upper: int, q: int, base: float = 10)[source]#
Sample an integer value log-uniformly between
basebeing the base of logarithm.
upperis also inclusive (!).
The value will be quantized, i.e. rounded to an integer increment of
q. Quantization makes the upper bound inclusive.
Changed in version 1.5.0: When converting Ray Tune configs to searcher-specific search spaces, the lower and upper limits are adjusted to keep compatibility with the bounds stated in the docstring above.
PublicAPI: This API is stable across Ray releases.