withtf.Session()assess:#Defineoptionsforthe`sess.run()`call.options=tf.RunOptions()options.output_partition_graphs
inthepreviousstep.config="test_graph_tfmatmul.config.pbtxt",) 要为此示例生成GraphDefproto(test_graph_tfmatmul.pb),请运行make_test_graphs.py