docstr: Create a graph containing two segments.
docstr_tok: ["Create","a","graph","containing","two","segments","."]
code: def GraphFn(self, inp):
      """Create a graph containing two segments."""
      n = inp
      for i in range(2):
          c = constant_op.constant(float(i), name="c%d" % i)
          n = math_ops.add(n, c, name="add%d" % i)
          n = math_ops.mul(n, n, name="mul%d" % i)
      n = self.trt_incompatible_op(n, name="incompatible")
      c = constant_op.constant(2.0, name="c2")
      n = math_ops.add(n, c, name="add2")
      n = math_ops.mul(n, n, name="mul2")
      c = constant_op.constant(3.0, name="c3")
      n = math_ops.add(n, c, name="add3")
      n = math_ops.mul(n, n, name="mul3")
      return array_ops.squeeze(n, name="output_0")
  
imports: import numpy
  from tensorflow.python.compiler.tensorrt import utils
  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.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the SimpleMultiEnginesTest2 obj's underlying member method code with example usage: obj.GraphFn(inp) and returns: array_ops