mirror of
https://github.com/gryf/coach.git
synced 2025-12-18 03:30:19 +01:00
Add is_on_policy property to agents (#480)
This commit is contained in:
@@ -46,6 +46,10 @@ class BootstrappedDQNAgent(ValueOptimizationAgent):
|
||||
def __init__(self, agent_parameters, parent: Union['LevelManager', 'CompositeAgent']=None):
|
||||
super().__init__(agent_parameters, parent)
|
||||
|
||||
@property
|
||||
def is_on_policy(self) -> bool:
|
||||
return False
|
||||
|
||||
def reset_internal_state(self):
|
||||
super().reset_internal_state()
|
||||
self.exploration_policy.select_head()
|
||||
|
||||
Reference in New Issue
Block a user