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

Function update_state

rl2/atari/dqn_tf.py:62–63  ·  view source on GitHub ↗
(state, obs_small)

Source from the content-addressed store, hash-verified

60
61
62def update_state(state, obs_small):
63 return np.append(state[:,:,1:], np.expand_dims(obs_small, 2), axis=2)
64
65
66

Callers 1

play_oneFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected