ray.rllib.policy.eager_tf_policy_v2.EagerTFPolicyV2.restore_connectors#

EagerTFPolicyV2.restore_connectors(state: Dict[str, numpy.array | jnp.ndarray | tf.Tensor | torch.Tensor | dict | tuple])#

Restore agent and action connectors if configs available.

Parameters:

state – The new state to set this policy to. Can be obtained by calling self.get_state().