import ray from ray import tune ray.init() tune.run(my_func, config={"lr": tune.uniform(0.001, 0.1)}, num_samples=5) trials = tune.get_trials()
import ray from ray import tune ray.init() tune.run(my_func, config={"lr": tune.uniform(0.001, 0.1)}, num_samples=5) trial = tune.get_trial(trial_id="trial_123") description = trial.describe()In both examples, the package library used is Python ray.tune.trial_runner.