Make meta_graph_test.py work with C API enabled.
This mainly means changing test_util.assert_meta_graph_protos_equal to call assert_equal_graph_def instead of comparing the GraphDef protos using assertEquals, since the NodeDefs are in a different order with the C API enabled. It also makes assert_equal_graph_def treat inputs 'tensor' and 'tensor:0' as equal (they're both valid). PiperOrigin-RevId: 181252488
Loading
Please sign in to comment