code: def testDebugNumericSummaryV2OpDeterminism(self):
      x = np.zeros([100, 100, 50], dtype=np.float64)
      x = constant_op.constant(x)
      modes = (
          debug_event_pb2.TensorDebugMode.CONCISE_HEALTH,
          debug_event_pb2.TensorDebugMode.FULL_HEALTH,
      )
      for mode in modes:
          debug_mode = debug_event_pb2.TensorDebugMode.Name(mode)
          with test_util.deterministic_ops():
              if test_util.config.list_physical_devices("GPU"):
                  with self.assertRaisesRegex(
                      errors_impl.UnimplementedError,
                      "Determinism is not yet "
                      "supported for DebugNumericSummaryV2 when tensor_debug_mode is "
                      + debug_mode
                      + ".",
                  ):
                      self.evaluate(
                          gen_debug_ops.debug_numeric_summary_v2(
                              x,
                              tensor_debug_mode=mode,
                              tensor_id=x._id,
                              output_dtype=dtypes.float64,
                          )
                      )
  
imports: import os
  import numpy
  from tensorflow.core.protobuf import debug_event_pb2
  from tensorflow.python.debug.lib import debug_events_reader
  from tensorflow.python.debug.lib import debug_events_writer
  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 errors
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_debug_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 6 for calling the DebugNumericSummaryV2Test obj's underlying member method code with example usage: obj.testDebugNumericSummaryV2OpDeterminism() without return types