Builds the given graph, and (if successful) indexes the node names for use in placement, and later lookup.
| 225 | // Builds the given graph, and (if successful) indexes the node |
| 226 | // names for use in placement, and later lookup. |
| 227 | Status BuildGraph(const GraphDefBuilder& builder, Graph* out_graph) { |
| 228 | TF_RETURN_IF_ERROR(GraphDefBuilderToGraph(builder, out_graph)); |
| 229 | RebuildNodeNameMap(*out_graph); |
| 230 | return Status::OK(); |
| 231 | } |
| 232 | |
| 233 | Status BuildGraph(const GraphDef& graph_def, Graph* out_graph) { |
| 234 | GraphConstructorOptions opts; |
nothing calls this directly
no test coverage detected