def __init__(self, env, noop_max=30):
    'Sample initial states by taking random number of no-ops on reset.\n        No-op is assumed to be action 0.\n        '
    gym.Wrapper.__init__(self, env)
    self.noop_max = noop_max
    self.override_num_noops = None
    self.noop_action = 0
    assert (env.unwrapped.get_action_meanings()[0] == 'NOOP')
Sample initial states by taking random number of no-ops on reset.
No-op is assumed to be action 0.
def __init__(self, env, noop_max=30):
    'Sample initial states by taking random number of no-ops on reset.\n        No-op is assumed to be action 0.\n        '
    gym.Wrapper.__init__(self, env)
    self.noop_max = noop_max
    self.override_num_noops = None
    self.noop_action = 0
    assert (env.unwrapped.get_action_meanings()[0] == 'NOOP')