class_docstr: Wrapper around another workers that initializes a TensorFlow Session.
class_docstr_tok: ["Wrapper","around","another","workers","that","initializes","a","TensorFlow","Session","."]
docstr: Sample a single episode of the agent in the environment.
  
  Returns:
      EpisodeBatch: Batch of sampled episodes. May be truncated if
          `max_episode_length` is set.
docstr_tok: ["Sample","a","single","episode","of","the","agent","in","the","environment",".","Returns",":","EpisodeBatch",":","Batch","of","sampled","episodes",".","May","be","truncated","if","`","max_episode_length","`","is","set","."]
code: def rollout(self):
      """Sample a single episode of the agent in the environment.
  
      Returns:
          EpisodeBatch: Batch of sampled episodes. May be truncated if
              `max_episode_length` is set.
  
      """
      return self._inner_worker.rollout()
  
file_path: garage/src/garage/tf/samplers/worker.py
imports: import tensorflow
  from garage.sampler.worker import Worker
label_desc: Use image node_id 10 for calling the TFWorkerWrapper obj's underlying member method code with example usage: obj.rollout() and returns: self