mirror of
https://github.com/gryf/coach.git
synced 2026-05-01 05:04:10 +02:00
Add is_on_policy property to agents (#480)
This commit is contained in:
@@ -161,6 +161,10 @@ class SoftActorCriticAgent(PolicyOptimizationAgent):
|
||||
self.v_onl_ys = self.register_signal('V_onl_ys')
|
||||
self.action_signal = self.register_signal("actions")
|
||||
|
||||
@property
|
||||
def is_on_policy(self) -> bool:
|
||||
return False
|
||||
|
||||
def learn_from_batch(self, batch):
|
||||
#########################################
|
||||
# need to update the following networks:
|
||||
|
||||
Reference in New Issue
Block a user