forked from mindspore-Ecosystem/mindspore
add PackFission pass for op-Stack in Pynative mode
This commit is contained in:
parent
5aa81fede0
commit
a6f44582fb
|
@ -484,6 +484,7 @@ void RunOpAscendBackendIRFusionOptimization(const std::shared_ptr<session::Kerne
|
|||
ir_fusion_pm->AddPass(std::make_shared<RenormSplit>());
|
||||
ir_fusion_pm->AddPass(std::make_shared<EraseVisitAttr>());
|
||||
ir_fusion_pm->AddPass(std::make_shared<RemoveHostKernel>());
|
||||
ir_fusion_pm->AddPass(std::make_shared<PackFission>());
|
||||
const auto &pass_creators =
|
||||
opt::Factory<PatternProcessPass>::Instance().GetPassCreatorsByType(kPassType::kIRFusionFissionPass);
|
||||
for (const auto &pass_creator : pass_creators) {
|
||||
|
|
Loading…
Reference in New Issue