mirror of
https://github.com/wassname/ray.git
synced 2026-08-10 12:30:14 +08:00
[rllib, tune] TrainingResult -> Dict, Removes C408 from flake8 (#2565)
This commit is contained in:
@@ -87,7 +87,7 @@ def RunnerHandler(runner):
|
||||
|
||||
def trial_info(self, trial):
|
||||
if trial.last_result:
|
||||
result = trial.last_result._asdict()
|
||||
result = trial.last_result.copy()
|
||||
else:
|
||||
result = None
|
||||
info_dict = {
|
||||
|
||||
Reference in New Issue
Block a user