code: def testUnarySparseDispatch(self, op, values, expected):
      st = sparse_tensor.SparseTensor(
          indices=[[0, 0], [0, 1], [2, 0], [2, 4]],
          values=values,
          dense_shape=[3, 6],
      )
      result = op(st)
      result_value = self.evaluate(result)
      self.assertAllEqual(result_value.indices, st.indices)
      self.assertAllEqual(result_value.values, expected)
      self.assertAllEqual(result_value.dense_shape, st.dense_shape)
  
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 5 for calling the SparseOpsTest obj's underlying member method code with example usage: obj.testUnarySparseDispatch(op, values, expected) without return types