MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / reset

Method reset

rl3/flappy2envs.py:38–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 return obs, reward, done
37
38 def reset(self):
39 self.env.reset_game()
40 return self.get_observation()
41
42 def get_observation(self):
43 # game state returns a dictionary which describes

Callers 2

flappy2envs.pyFile · 0.45
reward_functionFunction · 0.45

Calls 1

get_observationMethod · 0.95

Tested by

no test coverage detected