ray.rllib.policy.eager_tf_policy_v2.EagerTFPolicyV2.on_global_var_update#

EagerTFPolicyV2.on_global_var_update(global_vars: Dict[str, numpy.array | jnp.ndarray | tf.Tensor | torch.Tensor]) None#

Called on an update to global vars.

Parameters:

global_vars – Global variables by str key, broadcast from the driver.