From 72069274a7725d18747d94a0a3db4ee23eb3f438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Siwek?= Date: Wed, 12 Jan 2022 10:01:44 -0800 Subject: [PATCH] update mish variable to new naming convention --- paddle/fluid/operators/mkldnn/conv_mkldnn_op.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/operators/mkldnn/conv_mkldnn_op.cc b/paddle/fluid/operators/mkldnn/conv_mkldnn_op.cc index 720c807e582ca..6775b40c6a729 100644 --- a/paddle/fluid/operators/mkldnn/conv_mkldnn_op.cc +++ b/paddle/fluid/operators/mkldnn/conv_mkldnn_op.cc @@ -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,