code: def testSparseTensorToDenseQint(self):
      x = np.asarray([1, 2])
      y = np.asarray([[1, 0, 0], [0, 0, 2]])
      for dtype in [
          dtypes.qint8,
          dtypes.qint16,
          dtypes.quint8,
          dtypes.quint16,
      ]:
          sp = sparse_tensor.SparseTensor(
              indices=[[0, 0], [1, 2]],
              values=x.astype(dtype.as_numpy_dtype),
              dense_shape=[2, 3],
          )
          v = self.evaluate(sparse_ops.sparse_tensor_to_dense(sp))
          self.assertAllEqual(
              y.astype(dtype.as_numpy_dtype),
              v.astype(dtype.as_numpy_dtype),
          )
  
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 11 for calling the SparseOpsTest obj's underlying member method code with example usage: obj.testSparseTensorToDenseQint() without return types