(self)
return self._observation()
Clear buffer and re-fill by duplicating the first observation.
Clear buffer and re-fill by duplicating the first observation.
Clear buffer and re - fill by duplicating the first observation .
def _reset(self):
        """Clear buffer and re-fill by duplicating the first observation."""
        ob = self.env.reset()
        for _ in range(self.k): self.frames.append(ob)
        return self._observation()
def _reset ( self ) : ob = self . env . reset ( ) for _ in range ( self . k ) : self . frames . append ( ob ) return self . _observation ( )