docstr: Assert calling enable_dump_debug_info() with two tensor-debug modes.
  
  It should lead to overwriting of the previously-configured mode.
code: def testCallingEnableRepeatedlyWithDifferentTensorDebugMode(self):
      """Assert calling enable_dump_debug_info() with two tensor-debug modes.
  
      It should lead to overwriting of the previously-configured mode.
      """
      writer = dumping_callback.enable_dump_debug_info(
          self.dump_root, tensor_debug_mode="NO_TENSOR"
      )
  
      @def_function.function
      def add_1_divide_by_2(x):
          return (x + 1.0) / 2.0
  
      self.assertAllClose(
          add_1_divide_by_2(constant_op.constant(4.0)), 2.5
      )
      writer.FlushNonExecutionFiles()
      writer.FlushExecutionFiles()
  
      with debug_events_reader.DebugDataReader(
          self.dump_root
      ) as reader:
          reader.update()
          graph_exec_digests = reader.graph_execution_traces(
              digest=True
          )
          tensor_values = [
              reader.graph_execution_trace_to_tensor_value(digest)
              for digest in graph_exec_digests
          ]
          for tensor_value in tensor_values:
              # Under NO_TENSOR mode, each tensor is summarized as an empty float32
              # array.
              self.assertAllEqual(tensor_value, [])
  
      with self.assertRaisesRegex(
          ValueError, r"already.*NO_TENSOR.*FULL_TENSOR.*not be honored"
      ):
          dumping_callback.enable_dump_debug_info(
              self.dump_root, tensor_debug_mode="FULL_TENSOR"
          )
  
imports: import collections
  import os
  import shutil
  import socket
  import tempfile
  import threading
  from absl.testing import parameterized
  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 dumping_callback
  from tensorflow.python.debug.lib import dumping_callback_test_lib
  from tensorflow.python.eager import context
  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.ops import variables
  from tensorflow.python.platform import googletest
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 24 for calling the DumpingCallbackTest obj's underlying member method code with example usage: obj.testCallingEnableRepeatedlyWithDifferentTensorDebugMode() and returns: unknown