code: def testNodeDefsInDifferentOrderCompareEqual(self):
      graph_def1 = graph_pb2.GraphDef()
      graph_def1.node.extend(
          [
              self.create_node_def("Identity", "I", ["Base"]),
              self.create_node_def("BaseOp", "Base", []),
              self.create_constant_node_def(
                  "C", 1, dtypes.float32, inputs=["^I"]
              ),
          ]
      )
  
      graph_def2 = graph_pb2.GraphDef()
      graph_def2.node.extend(
          [
              self.create_constant_node_def(
                  "C", 1, dtypes.float32, inputs=["^I"]
              ),
              self.create_node_def("Identity", "I", ["Base"]),
              self.create_node_def("BaseOp", "Base", []),
          ]
      )
  
      self.assertTrue(
          graph_util.graph_defs_equal(graph_def1, graph_def2)
      )
  
imports: from tensorflow.core.framework import attr_value_pb2
  from tensorflow.core.framework import function_pb2
  from tensorflow.core.framework import graph_pb2
  from tensorflow.core.framework import node_def_pb2
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import function
  from tensorflow.python.framework import graph_util
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gen_state_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variable_v1
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
label_desc: Use image node_id 16 for calling the GraphUtilTest obj's underlying member method code with example usage: obj.testNodeDefsInDifferentOrderCompareEqual() without return types