comment refactoring

Co-Authored-By: Raffin, Antonin <Antonin.Raffin@dlr.de>
This commit is contained in:
Dormann, Noah 2019-12-05 08:08:20 +01:00 committed by GitHub Enterprise
parent 362bba73ba
commit 03bf513e5e

View file

@ -317,7 +317,7 @@ class PPO(BaseRLModel):
""" """
Returns a dict of all the optimizers and their parameters Returns a dict of all the optimizers and their parameters
:return: (Dict) of optimizer names and their state_dict :return: (dict) of optimizer names and their state_dict
""" """
return {"opt": self.policy.optimizer.state_dict()} return {"opt": self.policy.optimizer.state_dict()}