ray.rllib.core.learner.learner.Learner._check_result#
- Learner._check_result(result: Dict[str, Any]) None [source]#
Checks whether the result has the correct format.
All the keys should be referencing the module ids that got updated. There is a special key
ALL_MODULES
that hold any extra information that is not specific to a module.- Parameters:
result – The result of the update.
- Raises:
ValueError – If the result are not in the correct format.