class_docstr: Tests the Grappler remapper optimizer.
code: def _VerifyNoFusion(self, model_fn):
      ops.add_to_collection("train_op", model_fn)
      mg = meta_graph.create_meta_graph_def(graph=model_fn.graph)
  
      # Compute referene
      config = _get_config(remapping_on=False)
      gdef_ref = tf_optimizer.OptimizeGraph(config, mg)
  
      # Compute with remapping ON
      config = _get_config(remapping_on=True)
      gdef = tf_optimizer.OptimizeGraph(config, mg)
  
      self.assertEqual(len(gdef_ref.node), len(gdef.node))
      self.assertAllEqual(
          [n.op for n in gdef_ref.node], [n.op for n in gdef.node]
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from absl.testing import parameterized
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.core.protobuf import rewriter_config_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import meta_graph
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.grappler import tf_optimizer
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import init_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import sysconfig
  from tensorflow.python.platform import test
  from tensorflow.python.util import _pywrap_utils
label_desc: Use image node_id 3 for calling the RemapperTest obj's underlying member method code with example usage: obj._VerifyNoFusion(model_fn) without return types