[rllib] Use correct method name (#2226)

This commit is contained in:
Alok Singh
2018-06-11 09:53:31 -07:00
committed by Richard Liaw
parent b886ceca47
commit d47d6a6b7a
+1 -1
View File
@@ -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]