Skip to content

Commit

Permalink
stats
Browse files Browse the repository at this point in the history
  • Loading branch information
ericl committed Jun 5, 2019
1 parent eea2099 commit 1efb0c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/ray/rllib/policy/dynamic_tf_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ def gen_loss(model_outputs, *args):
self.action_dist.inputs = model_outputs
return self._loss_fn(self, eager_inputs)

# TODO(ekl) also handle the stats funcs
loss = tf.py_function(
gen_loss,
# cast works around TypeError: Cannot convert provided value
Expand Down

0 comments on commit 1efb0c3

Please sign in to comment.