Remove Identical Children Consolidation from default transformer uitil. (#14602)

### Description
<!-- Describe your changes. -->



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

Co-authored-by: Scott McKay <skottmckay@gmail.com>
This commit is contained in:
Jian Chen 2023-02-07 09:22:30 -08:00 committed by GitHub
parent 8de885fdb1
commit 585f43e31d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -200,7 +200,6 @@ InlinedVector<std::unique_ptr<GraphTransformer>> GenerateTransformers(
// CSE. For example, if A and B nodes both do Add operation with a same value but different initializers, by
// default, CSE will not merge them, because the different initializers are represented by different NodeArg.
if (session_options.config_options.GetConfigOrDefault(kOrtSessionOptionsDisableDoubleQDQRemover, "0") == "0"){
transformers.emplace_back(std::make_unique<IdenticalChildrenConsolidation>());
transformers.emplace_back(std::make_unique<DoubleQDQPairsRemover>());
}
transformers.emplace_back(std::make_unique<ConstantSharing>());