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

Method step

rl3/a2c/atari_wrappers.py:191–194  ·  view source on GitHub ↗
(self, action)

Source from the content-addressed store, hash-verified

189 return self._get_ob()
190
191 def step(self, action):
192 ob, reward, done, info = self.env.step(action)
193 self.frames.append(ob)
194 return self._get_ob(), reward, done, info
195
196 def _get_ob(self):
197 assert len(self.frames) == self.k

Callers

nothing calls this directly

Calls 2

_get_obMethod · 0.95
stepMethod · 0.45

Tested by

no test coverage detected