class_docstr: Wrapper for multiprocessing Pool that wraps function.
class_docstr_tok: ["Wrapper","for","multiprocessing","Pool","that","wraps","function","."]
code: def map(self, func, iterable, chunksize=None):
      if func is not None:
          func = _WrappedTargetWithState(self._context, func)
      return self._pool.map(
          func, iterable=iterable, chunksize=chunksize
      )
  
imports: import multiprocessing
  from typing import Text
  import cloudpickle
  import gin
  import gym
  from tf_agents.system.default import multiprocessing_core
  from tf_agents.system.default.multiprocessing_core import *
label_desc: Use image node_id 4 for calling the _PoolWrapper obj's underlying member method code with example usage: obj.map(func, iterable, chunksize) and returns: self