class_docstr: Wrapper around another workers that initializes a TensorFlow Session.
class_docstr_tok: ["Wrapper","around","another","workers","that","initializes","a","TensorFlow","Session","."]
docstr: Perform shutdown processes for TF.
docstr_tok: ["Perform","shutdown","processes","for","TF","."]
code: def shutdown(self):
      """Perform shutdown processes for TF."""
      self._inner_worker.shutdown()
      if tf.compat.v1.get_default_session() and self._sess_entered:
          self._sess_entered = False
          self._sess.__exit__(None, None, None)
  
file_path: garage/src/garage/tf/samplers/worker.py
imports: import tensorflow
  from garage.sampler.worker import Worker
label_desc: Use image node_id 3 for calling the TFWorkerWrapper obj's underlying member method code with example usage: obj.shutdown() without return types