!706 Fix CSE bug for `DropoutGenMask` operation

Merge pull request !706 from seatea/fix-cse-bug-for-dropoutgenmask
pull/706/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 81ad297f43

@ -122,6 +122,9 @@ bool CSE::CheckReplace(const AnfNodePtr &main, const AnfNodePtr &node) const {
break;
}
}
if (IsPrimitiveCNode(c_main, prim::kPrimDropoutGenMask)) {
appsame = false;
}
replace = appsame;
}
}

Loading…
Cancel
Save