[moco-tf] RemoveTFIdentityNode Knob (#6771)
author박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Wed, 21 Aug 2019 05:35:44 +0000 (14:35 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 21 Aug 2019 05:35:44 +0000 (14:35 +0900)
This will add RemoveTFIdentityNode Knob to switch RemoveTFIdentityNode optimization

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
compiler/moco-tf/src/Knob.lst

index 42befd9..f88cc9f 100644 (file)
@@ -20,6 +20,7 @@ KNOB_BOOL(FuseBinaryIntoPreceding, true, Fuse Binary node to preceding node)
 KNOB_BOOL(ResolveFusedBatchNorm, true, Enable ResolveFusedBatchNorm transform)
 KNOB_BOOL(ResolveConstantShape, true, Replace determined TFShape to TFConst)
 KNOB_BOOL(ResolveReshapeWildcardDim, true, Resolve wildcard dimension in TFReshape node)
+KNOB_BOOL(RemoveTFIdentityNode, false, Enable RemoveTFIdentityNode optimization)
 
 // Canonicalization
 KNOB_BOOL(CanonicalizeBiasAdd, true, Enable Canonicalize for BiasAdd node)