class_docstr: Wrapper around the profilers of Pytorch to provide a uniform
  interface, independent of the chosen implementation
code: def dump(self, folder: str, rank: int):
      if self.dumped:
          return
  
      self.export_key_averages(folder, rank)
      self.export_chrome_traces(folder, rank)
      self.dumped = True
  
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 5 for calling the Profiler obj's underlying member method code with example usage: obj.dump(folder, rank) without return types