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

Function TF_GraphVersions

tensorflow/c/c_api.cc:1591–1599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1589}
1590
1591void TF_GraphVersions(TF_Graph* graph, TF_Buffer* output_version_def,
1592 TF_Status* status) {
1593 VersionDef versions;
1594 {
1595 mutex_lock l(graph->mu);
1596 versions = graph->graph.versions();
1597 }
1598 status->status = MessageToBuffer(versions, output_version_def);
1599}
1600
1601TF_ImportGraphDefOptions* TF_NewImportGraphDefOptions() {
1602 return new TF_ImportGraphDefOptions;

Callers

nothing calls this directly

Calls 2

MessageToBufferFunction · 0.85
versionsMethod · 0.45

Tested by

no test coverage detected