Add `importModel` method as a future replacement for `import` and `createIR` methods.
Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
return _graph;
}
+std::unique_ptr<mir::Graph> CaffeImporter::importModel()
+{
+ import();
+ return std::unique_ptr<mir::Graph>(createIR());
+}
+
void CaffeImporter::collectUnsupportedLayers()
{
processDeprecatedInput();
void import();
mir::Graph *createIR();
+ /// @brief Load the model and convert it into a MIR Graph.
+ std::unique_ptr<mir::Graph> importModel();
+
void cleanup();
~CaffeImporter();