Imported Upstream version 1.25.0
[platform/core/ml/nnfw.git] / compiler / luci / pass / src / VerifyQuantizedNodeGranularity.h
index 6bf7ff6..cc618bf 100644 (file)
@@ -298,6 +298,13 @@ private:
     return true;
   }
 
+  bool visit(const luci::CircleSum *node)
+  {
+    RETURN_FALSE_UNLESS(is_lwq(node));
+    RETURN_FALSE_UNLESS(is_lwq(node->input()));
+    return true;
+  }
+
   bool visit(const luci::CircleArgMax *node)
   {
     // node's output is index, thus not quantized
@@ -333,6 +340,13 @@ private:
     return true;
   }
 
+  bool visit(const luci::CircleGelu *node)
+  {
+    RETURN_FALSE_UNLESS(is_lwq(node));
+    RETURN_FALSE_UNLESS(is_lwq(node->features()));
+    return true;
+  }
+
   bool visit(const luci::CircleGreater *node)
   {
     RETURN_FALSE_UNLESS(is_lwq(node->x()));