ray.rllib.evaluation.rollout_worker.RolloutWorker.get_global_vars#
- RolloutWorker.get_global_vars() dict [source]#
Returns the current
self.global_vars
dict of this RolloutWorker.- Returns:
The current
self.global_vars
dict of this RolloutWorker.
from ray.rllib.evaluation.rollout_worker import RolloutWorker # Create a RolloutWorker. worker = ... global_vars = worker.get_global_vars() print(global_vars)
{"timestep": 424242}