code: def on_graph_execution_trace(
      self, graph_execution_trace_index, graph_execution_trace
  ):
      if graph_execution_trace_index in self.graph_execution_traces:
          raise ValueError(
              "Duplicate graph-execution-trace index: %d"
              % graph_execution_trace_index
          )
      self.graph_execution_traces[
          graph_execution_trace_index
      ] = graph_execution_trace
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.core.protobuf import debug_event_pb2
  from tensorflow.python.debug.lib import debug_events_monitors
  from tensorflow.python.debug.lib import debug_events_reader
  from tensorflow.python.debug.lib import dumping_callback
  from tensorflow.python.debug.lib import dumping_callback_test_lib
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the TestMonitor obj's underlying member method code with example usage: obj.on_graph_execution_trace(graph_execution_trace_index, graph_execution_trace) without return types