ray.rllib.policy.Policy.on_global_var_update#

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

Called on an update to global vars.

Parameters:

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