You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In these lines, because the assert statement is broken into multiple lines and hence covered with parentheses, the assert evaluates the tuple itself. So it will always evaluate to True.
'When grads are provided, expects no aux outputs.')
This can be fixed by changing it to
assert loss_fn is not None or grads is not None, \
'Either a loss function or grads must be specified.'
assert has_aux, \
'When grads are provided, expects no aux outputs.'
The text was updated successfully, but these errors were encountered:
In these lines, because the assert statement is broken into multiple lines and hence covered with parentheses, the assert evaluates the tuple itself. So it will always evaluate to True.
jaxrl/jaxrl/networks/common.py
Lines 80 to 81 in 3674862
jaxrl/jaxrl/networks/common.py
Lines 89 to 90 in 3674862
This can be fixed by changing it to
The text was updated successfully, but these errors were encountered: