[moco-tf] Use moco Importer (#8504)
author박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Mon, 28 Oct 2019 04:09:47 +0000 (13:09 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 28 Oct 2019 04:09:47 +0000 (13:09 +0900)
This will update to use moco Importer header

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
compiler/moco-tf/src/Frontend.cpp
compiler/moco-tf/src/Op/COpCall.test.cpp

index 4f8edd8..20bfab2 100644 (file)
  */
 
 #include <moco/tf/Frontend.h>
+#include <moco/Import/Importer.h>
 #include <moco/Log.h>
 
 #include "GraphBuilderRegistry.h"
 
 #include "Canonicalizer.h"
-#include "Importer.h"
 #include "Optimizer.h"
 #include "TFOptimizer.h"
 
index ddacc6e..0b23062 100644 (file)
 
 #include "TestHelper.h"
 
-#include "Importer.h"
 #include "GraphBuilderRegistry.h"
 #include "Canonicalizer.h"
 
+#include <moco/Import/Importer.h>
+
 #include <locoex/COpCall.h>
 #include <locoex/COpAttrTypes.h>
 
@@ -92,7 +93,7 @@ TEST(Call_Test, Call_01)
   moco::tf::GraphBuilderRegistry registry{&moco::tf::GraphBuilderRegistry::get()};
   registry.add("new_custom_op", stdex::make_unique<moco::tf::COpCallGraphBuilder>(&signature));
 
-  moco::tf::Importer importer(&registry);
+  moco::Importer importer(&registry);
   std::unique_ptr<loco::Graph> graph = importer.import(signature, graph_def);
 
   // what to test: