code: def testDebugNumericSummaryV2OpLargeTensorIDError(self):
      modes = [
          debug_event_pb2.TensorDebugMode.CURT_HEALTH,
          debug_event_pb2.TensorDebugMode.CONCISE_HEALTH,
          debug_event_pb2.TensorDebugMode.SHAPE,
      ]
      # Maximum allowed tensor_id
      tensor_id = np.power(2, 53, dtype=np.int64)
      for mode in modes:
          self.evaluate(
              gen_debug_ops.debug_numeric_summary_v2(
                  constant_op.constant(42.0),
                  tensor_debug_mode=mode,
                  tensor_id=tensor_id,
                  output_dtype=dtypes.float64,
              )
          )
      # Incrementing by one should error
      tensor_id += 1
      for mode in modes:
          with self.assertRaises(errors.InvalidArgumentError):
              self.evaluate(
                  gen_debug_ops.debug_numeric_summary_v2(
                      constant_op.constant(42.0),
                      tensor_debug_mode=mode,
                      tensor_id=tensor_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 2 for calling the DebugNumericSummaryV2Test obj's underlying member method code with example usage: obj.testDebugNumericSummaryV2OpLargeTensorIDError() without return types