code: def testDequantizeQuint8(self):
      num_rows = 100
      num_columns = 3547
      random_input = np.random.normal(
          128.0, 10.0, [num_rows, num_columns]
      )
      with self.session() as session:
          with ops.device("CPU"):
              test_input = ops.convert_to_tensor(
                  random_input, dtype=dtypes.float32
              )
              transposed_input = array_ops.transpose(test_input, [1, 0])
              quantized_input = array_ops.quantize(
                  transposed_input, 0.0, 255.0, dtypes.quint8
              )
              packed_input = self.pack_uint8_r2_to_uint32(
                  quantized_input.output
              )
          with self.test_scope():
              transposed_quantized_output = xla.dequantize(
                  packed_input, 0.0, 255.0, "MIN_COMBINED", True
              )
              quantized_output = array_ops.slice(
                  transposed_quantized_output,
                  [0, 0],
                  [num_rows, num_columns],
              )
  
          value = session.run(quantized_output)
      self.assertAllClose(value, random_input, 1.0)
  
file_path: tensorflow/tensorflow/compiler/tests/quantized_ops_test.py
imports: import math
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.compiler.tf2xla.python import xla
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import bitwise_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 2 for calling the DequantizedOpsTest obj's underlying member method code with example usage: obj.testDequantizeQuint8() without return types