MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / predict

Method predict

rl2/atari/dqn_tf.py:243–244  ·  view source on GitHub ↗
(self, states)

Source from the content-addressed store, hash-verified

241 self.session = session
242
243 def predict(self, states):
244 return self.session.run(self.predict_op, feed_dict={self.X: states})
245
246 def update(self, states, actions, targets):
247 c, _ = self.session.run(

Callers 2

sample_actionMethod · 0.95
learnFunction · 0.45

Calls 1

runMethod · 0.45

Tested by

no test coverage detected