From f8fce9ec4d9c999dae51225753bbaffd250a9879 Mon Sep 17 00:00:00 2001 From: jakpiase Date: Mon, 25 Oct 2021 11:12:23 +0200 Subject: [PATCH] minor fix --- paddle/fluid/operators/mkldnn/softplus_mkldnn_op.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/mkldnn/softplus_mkldnn_op.h b/paddle/fluid/operators/mkldnn/softplus_mkldnn_op.h index a3c0dfe886f79..8c3f7a3180005 100644 --- a/paddle/fluid/operators/mkldnn/softplus_mkldnn_op.h +++ b/paddle/fluid/operators/mkldnn/softplus_mkldnn_op.h @@ -102,7 +102,7 @@ void custom_softplus_eltwise_forward(const framework::ExecutionContext& ctx) { const float beta = ctx.Attr("beta"); - SoftplusMKLDNNHandler handler(ctx, x, beta, mkldnn_engine, ctx.GetPlace()); + SoftplusMKLDNNHandler handler(ctx, x, beta, mkldnn_engine); auto src_memory_p = handler.AcquireSrcMemory(x);