From 8c9c6507e7299c1b8be22292623bf3cc9a7350ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=B2=9C=EA=B5=90/On-Device=20Lab=28SR=29/Enginee?= =?utf8?q?r/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Wed, 14 Aug 2019 17:29:58 +0900 Subject: [PATCH] [moco-tf] Knobs for Reshape elimination transform (#6611) This commit introduces knobs for following Reshape elimination transforms - ResolveDuplicateReshape - ResolveRedundantReshape Signed-off-by: Cheongyo Bahk --- compiler/moco-tf/src/Knob.lst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/moco-tf/src/Knob.lst b/compiler/moco-tf/src/Knob.lst index 75b6ec0..707bda9 100644 --- a/compiler/moco-tf/src/Knob.lst +++ b/compiler/moco-tf/src/Knob.lst @@ -35,6 +35,8 @@ KNOB_BOOL(ReorderDecodeReLU, true, Reorder FeatureDecode-ReLU) KNOB_BOOL(ReorderDecodeTensorBiasAdd, true, Reorder FeatureDecode-TensorBiasAdd) // END KNOB_BOOL(SimplifyDomainConversion, true, Enable SimplifyDomainConversion optimization) +KNOB_BOOL(ResolveDuplicateReshape, false, Resolve duplicated Reshape nodes) +KNOB_BOOL(ResolveRedundantReshape, false, Resolve redundant Reshape node) // Graph transformations KNOB_BOOL(RemoveDeadNode, true, Enable RemoveDeadNode optimization) -- 2.7.4