[exo-tflite] shape inference for TFLMaxPool2D (#7374)
author윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 <hyunsik.yoon@samsung.com>
Wed, 11 Sep 2019 05:28:25 +0000 (14:28 +0900)
committer박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 11 Sep 2019 05:28:25 +0000 (14:28 +0900)
Adding shape inference for TFLMaxPool2D

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

index 0f82185..4b636dd 100644 (file)
@@ -111,7 +111,10 @@ public:
 
   // TODO TFLDiv
 
-  // TODO TFLMaxPool2D
+  loco::NodeShape visit(const locoex::TFLMaxPool2D *node) final
+  {
+    return infer_pool_2d_shape(node);
+  }
 
   // TODO TFLMul