class_docstr: Wrapper around the profilers of Pytorch to provide a uniform
  interface, independent of the chosen implementation
code: def _exit_actions(self, exc_tb, exc_type, exc_val):
      logging.info("Exiting profiler...")
      self.profiler.__exit__(exc_type, exc_val, exc_tb)
      self.started = False
  
imports: import functools
  import logging
  import os
  from contextlib import contextmanager
  from vissl.utils.layer_memory_tracking import null_context
label_desc: Use image node_id 9 for calling the Profiler obj's underlying member method code with example usage: obj._exit_actions(exc_tb, exc_type, exc_val) without return types