(self, action)
| 25 | return self.env.get_max_episode_steps() |
| 26 | |
| 27 | def step(self, action): |
| 28 | observation, reward, done, info = self.env.step(action) |
| 29 | observation = observation.astype(np.uint8) |
| 30 | |
| 31 | if self.cvt_string: |
| 32 | observation = arr_to_str(observation) |
| 33 | |
| 34 | return observation, reward, done, info |
| 35 | |
| 36 | def reset(self, **kwargs): |
| 37 | observation = self.env.reset(**kwargs) |
nothing calls this directly
no test coverage detected