MCPcopy Create free account
hub / github.com/tensorpack/tensorpack / step

Method step

examples/A3C-Gym/atari_wrapper.py:99–104  ·  view source on GitHub ↗
(self, action)

Source from the content-addressed store, hash-verified

97 return ob
98
99 def step(self, action):
100 ob, r, done, info = self.env.step(action)
101 self.cnt += 1
102 if self.cnt == self.k:
103 done = True
104 return ob, r, done, info

Callers

nothing calls this directly

Calls 1

stepMethod · 0.45

Tested by

no test coverage detected