[RLlib] Arbitrary input to value() when not using GAE (#12941)

This commit is contained in:
roireshef
2020-12-21 19:19:33 +02:00
committed by GitHub
parent 5a6801dde7
commit ef95db51e1
+1 -1
View File
@@ -244,7 +244,7 @@ class ValueNetworkMixin:
# When not doing GAE, we do not require the value function's output.
else:
def value(ob, prev_action, prev_reward, *state):
def value(*args, **kwargs):
return 0.0
self._value = value