[moco-tf] Fix missing changed tag (#6583)
author박천교/On-Device Lab(SR)/Engineer/삼성전자 <ch.bahk@samsung.com>
Wed, 14 Aug 2019 03:12:54 +0000 (12:12 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Wed, 14 Aug 2019 03:12:54 +0000 (12:12 +0900)
This commit fixes missing 'changed' setting on ResolveDuplicateReshape
transform

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
compiler/moco-tf/src/Transforms/ResolveDuplicateReshape.cpp

index c7e9b0d..1887c41 100644 (file)
@@ -99,6 +99,8 @@ bool ResolveDuplicateReshape::run(loco::Graph *graph)
       auto node_as_reshape = dynamic_cast<loco::FixedReshape *>(node);
 
       remap_input(node_as_reshape);
+
+      changed = true;
     }
   }