[loco] fix a window_of function in CanonicalShapeInferenceRule (#6489)
author채성우/On-Device Lab(SR)/Engineer/삼성전자 <sw4670.chae@samsung.com>
Mon, 12 Aug 2019 09:58:50 +0000 (18:58 +0900)
committer박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Mon, 12 Aug 2019 09:58:50 +0000 (18:58 +0900)
This commit fix a window_of function.

Related issue:#6486

Signed-off-by: seongwoo <sw4670.chae@samsung.com>
compiler/loco/src/Service/CanonicalShapeInferenceRule.cpp

index 9bef64f..febddb6 100644 (file)
@@ -78,7 +78,7 @@ loco::Window<2> window_of(const loco::FilterShape &filter_shape)
   loco::Window<2> window;
 
   window.vertical(filter_shape.height().value());
-  window.horizontal(filter_shape.height().value());
+  window.horizontal(filter_shape.width().value());
 
   return window;
 }