code: def testQTypes(self):
      np.random.seed(7)
      with self.session(use_gpu=True):
          shape = [2]
          for dtype in [
              dtypes.quint8,
              dtypes.quint16,
              dtypes.qint8,
              dtypes.qint16,
              dtypes.qint32,
          ]:
              with self.subTest(shape=shape, dtype=dtype):
                  data = self.randn(shape, dtype.as_numpy_dtype)
                  xs = list(map(constant_op.constant, data))
                  c = math_ops.equal(array_ops_stack.stack(xs), data)
                  self.assertAllEqual(self.evaluate(c), [True, True])
  
imports: import numpy
  from tensorflow.python import tf2
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  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 array_ops_stack
  from tensorflow.python.ops import gen_array_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 20 for calling the StackOpTest obj's underlying member method code with example usage: obj.testQTypes() without return types