original_docstring: 
      Utility function for multiprocessed env.
  
      :param env_id: (str) the environment ID
      :param num_env: (int) the number of environments you wish to have in subprocesses
      :param seed: (int) the inital seed for RNG
      :param rank: (int) index of the subprocess
      
docstring: Utility function for multiprocessed env.
docstring_tokens: Utility function for multiprocessed env .
code: def make_env(env_class, init_kw, rank, seed=0, info_kw=(), monitor=True, training=True, HER=False, her_norm=False, her_norm_rew=False, attrs=None):
      """
      Utility function for multiprocessed env.
  
      :param env_id: (str) the environment ID
      :param num_env: (int) the number of environments you wish to have in subprocesses
      :param seed: (int) the inital seed for RNG
      :param rank: (int) index of the subprocess
      """
      def _init():
          env = env_class(**init_kw)
          env.training = training
          env.seed(seed + rank)
          info_kw = [metric["name"] for metric in env.cfg.get("metrics", {})] + ["reward"]
          if attrs is not None:
              for k, v in attrs.items():
                  setattr(env, k, v)
          if monitor:
              env = Monitor(env, filename=None, allow_early_resets=True, info_keywords=info_kw)
          if HER:
              env = HERGoalEnvWrapper(env, norm=her_norm, norm_reward=her_norm_rew)
          return env
      set_global_seeds(seed)
      return _init
code_tokens: def make_env ( env_class , init_kw , rank , seed = 0 , info_kw = ( ) , monitor = True , training = True , HER = False , her_norm = False , her_norm_rew = False , attrs = None ) : def _init ( ) : env = env_class ( ** init_kw ) env . training = training env . seed ( seed + rank ) info_kw = [ metric [ "name" ] for metric in env . cfg . get ( "metrics" , { } ) ] + [ "reward" ] if attrs is not None : for k , v in attrs . items ( ) : setattr ( env , k , v ) if monitor : env = Monitor ( env , filename = None , allow_early_resets = True , info_keywords = info_kw ) if HER : env = HERGoalEnvWrapper ( env , norm = her_norm , norm_reward = her_norm_rew ) return env set_global_seeds ( seed ) return _init
short_docstring: Utility function for multiprocessed env.
short_docstring_tokens: Utility function for multiprocessed env .
comment: """
      Utility function for multiprocessed env.
  
      :param env_id: (str) the environment ID
      :param num_env: (int) the number of environments you wish to have in subprocesses
      :param seed: (int) the inital seed for RNG
      :param rank: (int) index of the subprocess
      """