mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-11-17 08:56:08 +00:00
added get_parameter_list function
This commit is contained in:
parent
ff7c4d24f4
commit
7c8d375bcb
1 changed files with 7 additions and 0 deletions
|
|
@ -174,6 +174,13 @@ class BaseRLModel(object):
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def get_parameter_list(self):
|
||||||
|
"""
|
||||||
|
Returns policy and optimizer parameters as a tuple
|
||||||
|
:return: (dict,dict) policy_parameters, opt_parameters
|
||||||
|
"""
|
||||||
|
return self.get_policy_parameters(),self.get_opt_parameters()
|
||||||
|
|
||||||
def get_policy_parameters(self):
|
def get_policy_parameters(self):
|
||||||
"""
|
"""
|
||||||
Get current model policy parameters as dictionary of variable name -> tensors.
|
Get current model policy parameters as dictionary of variable name -> tensors.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue