mirror of
https://github.com/wassname/ray.git
synced 2026-07-16 11:21:10 +08:00
Uses `tune.run` to execute experiments as preferred API. @noahgolmant This does not break backwards compat, but will slowly internalize `Experiment`. In a separate PR, Tune schedulers should only support 1 running experiment at a time.
17 lines
577 B
Python
17 lines
577 B
Python
from __future__ import absolute_import
|
|
from __future__ import division
|
|
from __future__ import print_function
|
|
|
|
from ray.tune.error import TuneError
|
|
from ray.tune.tune import run_experiments, run
|
|
from ray.tune.experiment import Experiment
|
|
from ray.tune.registry import register_env, register_trainable
|
|
from ray.tune.trainable import Trainable
|
|
from ray.tune.suggest import grid_search, function, sample_from
|
|
|
|
__all__ = [
|
|
"Trainable", "TuneError", "grid_search", "register_env",
|
|
"register_trainable", "run", "run_experiments", "Experiment", "function",
|
|
"sample_from"
|
|
]
|