code: def _GraphFn(x, add_quantization_nodes):
      def _Quantize(x, r):
          if add_quantization_nodes:
              x = gen_array_ops.fake_quant_with_min_max_vars(x, -r, r)
          return x
  
      x = _Quantize(x, 10.0)
      x = x + 5
      x = _Quantize(x, 15.0)
      x = x - 5
      x = _Quantize(x, 10.0)
      x = x * 0.1
      x = _Quantize(x, 1.0)
      w = constant_op.constant(np.ones((8, 1)), dtype=dtypes.float32)
      x = math_ops.matmul(x, w)
      x = _Quantize(x, 10.0)
      return array_ops.identity(x, name="output_0")
  
imports: import numpy
  from tensorflow.python.compiler.tensorrt.test import tf_trt_integration_test_base
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling a global function with example usage: _GraphFn(x, add_quantization_nodes) and returns: array_ops, x