mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
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:
parent
8de885fdb1
commit
585f43e31d
1 changed files with 0 additions and 1 deletions
|
|
@ -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>());
|
||||
|
|
|
|||
Loading…
Reference in a new issue