class_docstr: Python memory leak detection class.
class_docstr_tok: ["Python","memory","leak","detection","class","."]
code: def _snapshot_diff(self, old_index, new_index):
      return _snapshot_diff(
          self._snapshots[old_index],
          self._snapshots[new_index],
          self._get_internal_object_ids(),
      )
  
file_path: tensorflow-upstream/tensorflow/python/framework/python_memory_checker.py
imports: import collections
  import copy
  import gc
  from tensorflow.python.framework import _python_memory_checker_helper
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.profiler import trace
label_desc: Use image node_id 6 for calling the _PythonMemoryChecker obj's underlying member method code with example usage: obj._snapshot_diff(old_index, new_index) and returns: _snapshot_diff