def _reset(self):
        """Clear past frame buffer and init. to first new_obs. from inner env."""
        self._obs_buffer.clear()
        obs = self.env.reset()
        self._obs_buffer.append(obs)
        return obs
Clear past frame buffer and init. to first new_obs. from inner env.
surreal/env/atari_wrappers_deprecated.py