class_docstr: Wrapper around the profilers of Pytorch to provide a uniform
  interface, independent of the chosen implementation
code: def __exit__(self, exc_type, exc_val, exc_tb):
      if self.started:
          self._exit_actions(exc_type, exc_val, exc_tb)
  
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 3 for calling the Profiler obj's underlying member method code with example usage: obj.__exit__(exc_type, exc_val, exc_tb) without return types