code: def testEditDistanceBadIndices(self):
      hypothesis_indices = np.full(
          (3, 3), -1250999896764, dtype=np.int64
      )
      hypothesis_values = np.zeros(3, dtype=np.int64)
      hypothesis_shape = np.zeros(3, dtype=np.int64)
      truth_indices = np.full((3, 3), -1250999896764, dtype=np.int64)
      truth_values = np.full([3], 2, dtype=np.int64)
      truth_shape = np.full([3], 2, dtype=np.int64)
      expected_output = []  # dummy; ignored
  
      self._testEditDistance(
          hypothesis=(
              hypothesis_indices,
              hypothesis_values,
              hypothesis_shape,
          ),
          truth=(truth_indices, truth_values, truth_shape),
          normalize=False,
          expected_output=expected_output,
          expected_err_re=(
              r"inner product -\d+ which would require writing "
              "to outside of the buffer for the output tensor|"
              r"Dimension -\d+ must be >= 0"
          ),
      )
  
imports: import numpy
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 10 for calling the EditDistanceTest obj's underlying member method code with example usage: obj.testEditDistanceBadIndices() without return types