class_docstr: Neighboring node wiring tests in TF-TRT conversion.
class_docstr_tok: ["Neighboring","node","wiring","tests","in","TF-TRT","conversion","."]
code: def GraphFn(self, x):
      dtype = x.dtype
      e = constant_op.constant(
          np.random.normal(0.3, 0.05, [3, 2, 3, 4]),
          name="weights",
          dtype=dtype,
      )
      conv = nn.conv2d(
          input=x,
          filter=e,
          data_format="NCHW",
          strides=[1, 1, 1, 1],
          padding="VALID",
          name="conv",
      )
      b = constant_op.constant(
          np.random.normal(1.0, 1.0, [1, 4, 1, 1]),
          name="bias",
          dtype=dtype,
      )
      t = math_ops.mul(conv, b, name="mul")
      e = self.trt_incompatible_op(conv, name="incompatible")
      t = math_ops.sub(t, e, name="sub")
      return array_ops.squeeze(t, name="output_0")
  
file_path: tensorflow-upstream/tensorflow/python/compiler/tensorrt/test/neighboring_engine_test.py
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 math_ops
  from tensorflow.python.ops import nn
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the NeighboringEngineTest obj's underlying member method code with example usage: obj.GraphFn(x) and returns: array_ops