Skip to content

Commit

Permalink
update mish variable to new naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
Silv3S committed Jan 12, 2022
1 parent 76b0902 commit 7206927
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions paddle/fluid/operators/mkldnn/conv_mkldnn_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,9 @@ class ConvMKLDNNHandlerT
dnnl::algorithm::eltwise_hardswish,
fuse_alpha, fuse_beta);
} else if (fuse_activation == "mish") {
post_operations.append_eltwise(scale, dnnl::algorithm::eltwise_mish,
fuse_alpha, fuse_beta);
post_operations.append_eltwise(activation_scale,
dnnl::algorithm::eltwise_mish, fuse_alpha,
fuse_beta);
} else if (fuse_activation == "hard_sigmoid") {
post_operations.append_eltwise(activation_scale,
dnnl::algorithm::eltwise_linear,
Expand Down

1 comment on commit 7206927

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.