fixes:I3BIM8

bprop graph of resnet50 has a Redundancy Reshape op.
This commit is contained in:
zhangzhaoju 2021-03-16 10:06:05 +08:00 committed by chujinjin
parent 3b75c665ac
commit 8ee9abf762
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ FuncGraphPtr BpropGraphFinalOptPass(const ResourcePtr &res) {
irpass.inline_,
irpass.item_tuple_or_list_eliminate_,
irpass.depend_value_elim_,
irpass.reshape_eliminate_,
});
OptPassGroupMap map({{"ad_final_opt_", bg_final_opt_}});