code: def testBadValue(self):
      with self.assertRaisesRegex(
          (ValueError, errors.InvalidArgumentError),
          r"sparse_values has incorrect shape \[2,1\], "
          r"should be \[\] or \[2\]",
      ):
          self.evaluate(
              sparse_ops.sparse_to_dense([1, 3], [5], [[5], [3]], -1)
          )
  
imports: from absl.testing import parameterized
  import numpy
  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 test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import sparse_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 12 for calling the SparseToDenseTest obj's underlying member method code with example usage: obj.testBadValue() without return types