mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
[rllib, tune] TrainingResult -> Dict, Removes C408 from flake8 (#2565)
This commit is contained in:
@@ -16,8 +16,8 @@ class Experiment(object):
|
||||
user-defined trainable function or class
|
||||
registered in the tune registry.
|
||||
stop (dict): The stopping criteria. The keys may be any field in
|
||||
TrainingResult, whichever is reached first. Defaults to
|
||||
empty dict.
|
||||
the return result of 'train()', whichever is reached first.
|
||||
Defaults to empty dict.
|
||||
config (dict): Algorithm-specific configuration
|
||||
(e.g. env, hyperparams). Defaults to empty dict.
|
||||
trial_resources (dict): Machine resources to allocate per trial,
|
||||
|
||||
Reference in New Issue
Block a user