class_docstr: Worker class used in all Samplers.
class_docstr_tok: ["Worker","class","used","in","all","Samplers","."]
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.
  
      """
  
file_path: garage/src/garage/sampler/worker.py
imports: import abc
label_desc: Use image node_id 4 for calling the Worker obj's underlying member method code with example usage: obj.rollout() without return types