未验证 提交 60d5250f 编写于 作者: H hong19860320 提交者: GitHub

[NPU] Disable scale_activation_fuse_pass which causes the wrong result in...

[NPU] Disable scale_activation_fuse_pass which causes the wrong result in yolov3_mobilenetv3 (#4266)
上级 6d2b2a40
......@@ -36,4 +36,9 @@ void ScaleActivationFusePass::Apply(const std::unique_ptr<SSAGraph>& graph) {
REGISTER_MIR_PASS(lite_scale_activation_fuse_pass,
paddle::lite::mir::ScaleActivationFusePass)
.BindTargets({TARGET(kARM)})
.ExcludeTargets({TARGET(kNPU),
TARGET(kXPU),
TARGET(kRKNPU),
TARGET(kAPU),
TARGET(kHuaweiAscendNPU)})
.BindKernel("scale");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册