class_docstr: Tests for garage.envs.multi_env_wrapper
class_docstr_tok: ["Tests","for","garage.envs.multi_env_wrapper"]
docstr: helper function to initialize multi_env_wrapper
  
  Args:
      env_names (list(str)): List of Environment names.
      sample_strategy (func): A sampling strategy.
  
  Returns:
      garage.envs.multi_env_wrapper: Multi env wrapper.
docstr_tok: ["helper","function","to","initialize","multi_env_wrapper","Args",":","env_names","(","list","(","str",")",")",":","List","of","Environment","names",".","sample_strategy","(","func",")",":","A","sampling","strategy",".","Returns",":","garage.envs.multi_env_wrapper",":","Multi","env","wrapper","."]
code: def _init_multi_env_wrapper(
      self, env_names, sample_strategy=uniform_random_strategy
  ):
      """helper function to initialize multi_env_wrapper
  
      Args:
          env_names (list(str)): List of Environment names.
          sample_strategy (func): A sampling strategy.
  
      Returns:
          garage.envs.multi_env_wrapper: Multi env wrapper.
      """
      task_envs = [GymEnv(name) for name in env_names]
      return MultiEnvWrapper(task_envs, sample_strategy=sample_strategy)
  
file_path: garage/tests/garage/envs/test_multi_env_wrapper.py
imports: import akro
  import numpy
  import pytest
  from garage.envs import GymEnv
  from garage.envs.multi_env_wrapper import MultiEnvWrapper, round_robin_strategy, uniform_random_strategy
label_desc: Use image node_id 1 for calling the TestMultiEnvWrapper obj's underlying member method code with example usage: obj._init_multi_env_wrapper(env_names, sample_strategy) and returns: MultiEnvWrapper