| 1589 | } |
| 1590 | |
| 1591 | void 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 | |
| 1601 | TF_ImportGraphDefOptions* TF_NewImportGraphDefOptions() { |
| 1602 | return new TF_ImportGraphDefOptions; |
nothing calls this directly
no test coverage detected