code: def testSparseFillEmptyRowsGradNegativeIndexMapValue(self):
      reverse_index_map = [2, -1]
      grad_values = [0, 1, 2, 3]
      with self.assertRaisesRegex(
          errors.InvalidArgumentError,
          r"Elements in reverse index must be in \[0, 4\)",
      ):
          self.evaluate(
              gen_sparse_ops.SparseFillEmptyRowsGrad(
                  reverse_index_map=reverse_index_map,
                  grad_values=grad_values,
              )
          )
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_grad
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_sparse_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import sparse_grad
  from tensorflow.python.ops import sparse_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 2 for calling the RawOpsTest obj's underlying member method code with example usage: obj.testSparseFillEmptyRowsGradNegativeIndexMapValue() without return types