diff options
author | 박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com> | 2019-09-05 17:21:55 +0900 |
---|---|---|
committer | GitHub Enterprise <noreply-CODE@samsung.com> | 2019-09-05 17:21:55 +0900 |
commit | 8eede500210863a14360eba7a538ef7afbb3629c (patch) | |
tree | 17656b6a2655e35cf8b3092c5f434e8ed7615c1f /compiler | |
parent | 36f814f0dc5f2d035e9e10b64d6c41fa3b64fc6b (diff) | |
download | nnfw-8eede500210863a14360eba7a538ef7afbb3629c.tar.gz nnfw-8eede500210863a14360eba7a538ef7afbb3629c.tar.bz2 nnfw-8eede500210863a14360eba7a538ef7afbb3629c.zip |
[moco-tf] Return for ShapeInferencePass (#7220)
This will return value from loco shape inference in ShapeInferencePass
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/moco-tf/src/Transforms/ShapeInferencePass.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/moco-tf/src/Transforms/ShapeInferencePass.cpp b/compiler/moco-tf/src/Transforms/ShapeInferencePass.cpp index 7b075e702..e47b06964 100644 --- a/compiler/moco-tf/src/Transforms/ShapeInferencePass.cpp +++ b/compiler/moco-tf/src/Transforms/ShapeInferencePass.cpp @@ -48,9 +48,7 @@ bool ShapeInferencePass::run(loco::Graph *graph) .bind(TFDialect::get(), &tf_rule) .bind(locoex::COpDialect::get(), &cop_rule); - loco::apply(&rules).to(graph); - - return false; + return loco::apply(&rules).to(graph); } } // namespace tf |