[exo-tflite] Adding list of converters as TODO (#7228)
author윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 <hyunsik.yoon@samsung.com>
Thu, 5 Sep 2019 09:33:45 +0000 (18:33 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 5 Sep 2019 09:33:45 +0000 (18:33 +0900)
This adds list of converters as TODO.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
compiler/exo-tflite/src/Conversion/Convert.cpp

index 319462c..a3f85cf 100644 (file)
@@ -38,10 +38,28 @@ void convert_to_TFLNodes(loco::Graph *graph)
 
   logo::Phase phase;
   {
-    // TODO add each converter that converts canonical to TFLDialect
-    // For example, something like the following:
-    //    phase.emplace_back(stdex::make_unique<ReluConverter>());
-    //    phase.emplace_back(stdex::make_unique<MaxPool2DConverter>());
+    // Add converters for canonical nodes. Note: Not all loco canonical nodes are listed.
+    // TODO loco::AvgPool2D
+    // TODO loco::ConstGen
+    // TODO loco::Conv2D
+    // TODO loco::DepthwiseConv2D
+    // TODO loco::DepthwiseFilterEncode
+    // TODO loco::EltwiseAdd
+    // TODO loco::EltwiseDiv
+    // TODO loco::EltwiseMul
+    // TODO loco::EltwiseSqrt
+    // TODO loco::EltwiseSub
+    // TODO loco::FeatureBiasAdd
+    // TODO loco::FixedReshape
+    // TODO loco::MaxPool2D
+    // TODO loco::ReLU
+    // TODO loco::ReLU6
+    // TODO loco::Tanh
+    // TODO loco::TensorConcat
+    // TODO loco::TensorBiasAdd
+    // TODO loco::TensorSoftmax
+
+    // TODO Add type inference, shape inference, and optimization passes
   }
 
   logo::PhaseRunner<logo::PhaseStrategy::Saturate> phase_runner{graph};