code: def testQATFrozenGraphDefInt8(self):
      with ops.Graph().as_default():
          in_tensor_1 = array_ops.placeholder(
              shape=[1, 16, 16, 3], dtype=dtypes.float32, name="inputA"
          )
          in_tensor_2 = array_ops.placeholder(
              shape=[1, 16, 16, 3], dtype=dtypes.float32, name="inputB"
          )
          _ = array_ops.fake_quant_with_min_max_args(
              in_tensor_1 + in_tensor_2,
              min=0.0,
              max=1.0,
              name="output",
              num_bits=16,
          )  # INT8 inference type works for 16 bits fake quant.
          sess = session.Session()
  
      # Write graph to file.
      graph_def_file = self._getFilepath("model.pb")
      write_graph(sess.graph_def, "", graph_def_file, False)
      sess.close()
  
      flags_str = (
          "--inference_type=INT8 --std_dev_values=128,128 "
          "--mean_values=128,128 "
          "--graph_def_file={0} --input_arrays={1},{2} "
          "--output_arrays={3}".format(
              graph_def_file, "inputA", "inputB", "output"
          )
      )
      self._run(flags_str, should_succeed=True)
      os.remove(graph_def_file)
  
imports: import os
  from absl.testing import parameterized
  import numpy
  from tensorflow import keras
  from tensorflow.core.framework import graph_pb2
  from tensorflow.lite.python import test_util
  from tensorflow.lite.python import tflite_convert
  from tensorflow.lite.python.convert import register_custom_opdefs
  from tensorflow.python import tf2
  from tensorflow.python.client import session
  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 ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.framework.importer import import_graph_def
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import resource_loader
  from tensorflow.python.platform import test
  from tensorflow.python.saved_model import saved_model
  from tensorflow.python.saved_model.save import save
  from tensorflow.python.trackable import autotrackable
  from tensorflow.python.training.training_util import write_graph
label_desc: Use image node_id 5 for calling the TfLiteConvertV1Test obj's underlying member method code with example usage: obj.testQATFrozenGraphDefInt8() without return types