(self, env=None, skip=4)
Return only every `skip`-th frame
Return only every `skip`-th frame
Return only every skip - th frame
def __init__(self, env=None, skip=4):
        """Return only every `skip`-th frame"""
        super(MaxAndSkipEnv, self).__init__(env)
        # most recent raw observations (for max pooling across time steps)
        self._obs_buffer = collections.deque(maxlen=2)
        self._skip = skip
def __init__ ( self , env = None , skip = 4 ) : super ( MaxAndSkipEnv , self ) . __init__ ( env ) # most recent raw observations (for max pooling across time steps) self . _obs_buffer = collections . deque ( maxlen = 2 ) self . _skip = skip