class_docstr: Class for converting a gym environment, a controller style, and others into a black-box optimization benchmark.
class_docstr_tok: ["Class","for","converting","a","gym","environment",",","a","controller","style",",","and","others","into","a","black-box","optimization","benchmark","."]
code: def wrap_env(self, input_env):
      env = gym.wrappers.TimeLimit(
          env=input_env,
          max_episode_steps=self.num_episode_steps,
      )
      return env
  
imports: import os
  import copy
  import scipy.stats
  import typing
  import numpy
  import gym
  import nevergrad
  from nevergrad.parametrization import parameter
  from ..base import ExperimentFunction
label_desc: Use image node_id 2 for calling the GymMulti obj's underlying member method code with example usage: obj.wrap_env(input_env) and returns: env