mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 19:17:01 +08:00
[rllib] Use correct method name (#2226)
This commit is contained in:
@@ -105,7 +105,7 @@ class TFPolicyGraph(PolicyGraph):
|
||||
feed_dict[self._is_training] = True
|
||||
for ph, value in zip(self._grads, gradients):
|
||||
feed_dict[ph] = value
|
||||
fetches = self.sess.run(
|
||||
fetches = self._sess.run(
|
||||
[self._apply_op, self.extra_apply_grad_fetches()],
|
||||
feed_dict=feed_dict)
|
||||
return fetches[1]
|
||||
|
||||
Reference in New Issue
Block a user