!24669 Delete Set New Execution Order after Add-Dynamic-Shape-Attr pass

Merge pull request !24669 from hwjiaorui/fix-bug-dynamic-shape-pass
This commit is contained in:
i-robot 2021-10-12 03:22:41 +00:00 committed by Gitee
commit 28a7784a98
1 changed files with 0 additions and 1 deletions

View File

@ -123,7 +123,6 @@ void AddDynamicShapeAttrPass(const std::shared_ptr<session::KernelGraph> &kernel
pm->AddPass(std::make_shared<AddDynamicShapeAttr>());
opt->AddPassManager(pm);
(void)opt->Optimize(kernel_graph);
kernel_graph->SetExecOrderByDefault();
}
} // namespace opt