From 19d2f649400a0bd6351428b2b039ec1c1c042c07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=84=B8=ED=9D=AC/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 8 Aug 2019 10:45:17 +0900 Subject: [PATCH] [moco-tf] Disable usage of nodes.lst in FixPadding (#6361) This will disable using CanonicalNodes.lst and TFNodes.lst so that we don't have to modify FixPaddingTransform - this is a temporary fix before deleting FixPaddingTransform related files Signed-off-by: SaeHie Park --- compiler/moco-tf/src/Transforms/FixPaddingTransform.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/moco-tf/src/Transforms/FixPaddingTransform.cpp b/compiler/moco-tf/src/Transforms/FixPaddingTransform.cpp index f402683..2ee01dc 100644 --- a/compiler/moco-tf/src/Transforms/FixPaddingTransform.cpp +++ b/compiler/moco-tf/src/Transforms/FixPaddingTransform.cpp @@ -800,6 +800,7 @@ namespace tf bool FixPaddingTransform::run(loco::Graph *graph) { bool changed = false; +#if 0 for (auto node : loco::active_nodes(loco::output_nodes(graph))) { // clang-format off @@ -834,6 +835,7 @@ bool FixPaddingTransform::run(loco::Graph *graph) throw std::runtime_error("Not supported loco::Node type in FixPaddingTransform"); } } +#endif return changed; } -- 2.7.4