class_docstr: An earlier version of this code (#634) was originally developed by Vincent Belus (@vbelus).
class_docstr_tok: ["An","earlier","version","of","this","code","(","#","634",")","was","originally","developed","by","Vincent","Belus","(","@","vbelus",")","."]
code: def __init__(
      self,
      environment,
      blocking=False,
      max_episode_timesteps=None,
      reward_shaping=None,
      **kwargs,
  ):
      proxy_connection, remote_connection = Pipe(duplex=True)
      process = Process(
          target=self.__class__.remote,
          kwargs=dict(
              connection=remote_connection,
              environment=environment,
              max_episode_timesteps=max_episode_timesteps,
              reward_shaping=reward_shaping,
              **kwargs,
          ),
      )
      process.start()
      super().__init__(
          connection=(proxy_connection, process), blocking=blocking
      )
  
file_path: tensorforce/tensorforce/environments/multiprocessing_environment.py
imports: from multiprocessing import Pipe, Process
  from tensorforce.environments import RemoteEnvironment
label_desc: Use image node_id 7 to create a new MultiprocessingEnvironment object from inherited base classes: RemoteEnvironment with example: obj = MultiprocessingEnvironment(environment, blocking, max_episode_timesteps, reward_shaping)