mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[RLlib] Arbitrary input to value() when not using GAE (#12941)
This commit is contained in:
parent
5a6801dde7
commit
ef95db51e1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue