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

Class Step

rl2/a3c/worker.py:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10class Step:
11 def __init__(self, state, action, reward, next_state, done):
12 self.state = state
13 self.action = action
14 self.reward = reward
15 self.next_state = next_state
16 self.done = done
17
18
19# Transform raw images for input into neural network

Callers 1

run_n_stepsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected