Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jakpiase committed Oct 25, 2021
1 parent eabb5ad commit f8fce9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/operators/mkldnn/softplus_mkldnn_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void custom_softplus_eltwise_forward(const framework::ExecutionContext& ctx) {

const float beta = ctx.Attr<float>("beta");

SoftplusMKLDNNHandler<T> handler(ctx, x, beta, mkldnn_engine, ctx.GetPlace());
SoftplusMKLDNNHandler<T> handler(ctx, x, beta, mkldnn_engine);

auto src_memory_p = handler.AcquireSrcMemory(x);

Expand Down

0 comments on commit f8fce9e

Please sign in to comment.