code: def __init__(self, python=True, script=True, cpp=False):
      self.python = python
      self.script = script
      self.cpp = cpp
  
imports: import torch
  from torch.utils._pytree import tree_map
  from typing import Iterator, List, Optional
  import logging
  import contextlib
  import itertools
  from torch.utils._python_dispatch import TorchDispatchMode
  from torch.utils.weak import WeakTensorKeyDictionary
  import functools
  from torch._C._profiler import gather_traceback, symbolize_tracebacks
label_desc: Use image node_id 1 to create a new GatherTraceback object from inherited base classes: logging with example: obj = GatherTraceback(python, script, cpp)