ray.tune.sample_from#

ray.tune.sample_from(func: Callable[[Dict], Any])[source]#

Specify that tune should sample configuration values from this function.

Parameters:

func – An callable function to draw a sample from.