class_docstr: Wrapper around another workers that initializes a TensorFlow Session.
class_docstr_tok: ["Wrapper","around","another","workers","that","initializes","a","TensorFlow","Session","."]
code: def agent(self, agent):
      self._inner_worker.agent = agent
  
file_path: garage/src/garage/tf/samplers/worker.py
imports: import tensorflow
  from garage.sampler.worker import Worker
label_desc: Use image node_id 5 for calling the TFWorkerWrapper obj's underlying member method code with example usage: obj.agent(agent) without return types