Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
main
Function · 0.45
run
Method · 0.45
Calls
1
run
Method · 0.45
Tested by
no test coverage detected