Symptom
Failed to find a subgraph by the name [%s].
Possible Cause
No subgraph .proto description is found based on the subgraph name.
Solution
- To use function subgraphs to convert a TensorFlow model, place the subgraph .proto description file in the same directory as the model file and name it [graph_def_library.pbtxt].
- Run the [func2graph.py] script in the ATC installation directory to save the subgraphs to [graph_def_library.pbtxt].