ray.rllib.policy.eager_tf_policy_v2.EagerTFPolicyV2.optimizer#
- EagerTFPolicyV2.optimizer() tf.keras.optimizers.Optimizer | List[tf.keras.optimizers.Optimizer] [source]#
TF optimizer to use for policy optimization.
- Returns:
- A local optimizer or a list of local optimizers to use for this
Policy’s Model.