class_docstr: Acts like a Worker class, but is actually an object.
  
  When called, constructs the wrapped class and wraps it in a
  :class:`~TFWorkerWrapper`.
  
  Args:
      wrapped_class (type): The class to wrap. Should be a subclass of
          :class:`~Worker`.
class_docstr_tok: ["Acts","like","a","Worker","class",",","but","is","actually","an","object",".","When","called",",","constructs","the","wrapped","class","and","wraps","it","in","a",":","class",":","`","~TFWorkerWrapper","`",".","Args",":","wrapped_class","(","type",")",":","The","class","to","wrap",".","Should","be","a","subclass","of",":","class",":","`","~Worker","`","."]
code: def __init__(self, wrapped_class):
      self._wrapped_class = wrapped_class
  
file_path: garage/src/garage/tf/samplers/worker.py
imports: import tensorflow
  from garage.sampler.worker import Worker
label_desc: Use image node_id 1 to create a new TFWorkerClassWrapper object  with example: obj = TFWorkerClassWrapper(wrapped_class)