MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ExportTensorFlowGraphDef

Function ExportTensorFlowGraphDef

tensorflow/lite/toco/export_tensorflow.cc:2514–2521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2512}
2513
2514void ExportTensorFlowGraphDef(const Model& model,
2515 string* output_file_contents) {
2516 CHECK(output_file_contents->empty());
2517 GraphDef tensorflow_graph;
2518 ExportTensorFlowGraphDefImplementation(model, &tensorflow_graph);
2519 LogDumpGraphDef(kLogLevelModelChanged, "AT EXPORT", tensorflow_graph);
2520 CHECK(tensorflow_graph.SerializeToString(output_file_contents));
2521}
2522} // namespace toco

Callers 1

ExportFunction · 0.85

Calls 4

LogDumpGraphDefFunction · 0.85
emptyMethod · 0.45
SerializeToStringMethod · 0.45

Tested by

no test coverage detected