MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / step

Method step

rl3/a2c/neural_network.py:44–46  ·  view source on GitHub ↗
(ob)

Source from the content-addressed store, hash-verified

42 # self.initial_state = [] # State reserved for LSTM
43
44 def step(ob):
45 a, v = sess.run([a0, v0], {X: ob})
46 return a, v#, [] # dummy state
47
48 def value(ob):
49 return sess.run(v0, {X: ob})

Callers 2

mainFunction · 0.45
runMethod · 0.45

Calls 1

runMethod · 0.45

Tested by

no test coverage detected