class_docstr: Base class for stack trace transformation functions.
class_docstr_tok: ["Base","class","for","stack","trace","transformation","functions","."]
code: def __exit__(self, unused_type, unused_value, unused_traceback):
      top = self._stack_dict[self._thread_key].pop()
      assert top is self, "Concurrent access?"
  
imports: import collections
  import inspect
  import threading
  from tensorflow.core.framework import graph_debug_info_pb2
  from tensorflow.python.util import _tf_stack
label_desc: Use image node_id 2 for calling the StackTraceTransform obj's underlying member method code with example usage: obj.__exit__(unused_type, unused_value, unused_traceback) without return types