diff --git a/paddle/fluid/operators/activation_op.cc b/paddle/fluid/operators/activation_op.cc index 0ed3508bffb5683dc0464ed0036ee36552a8ecd1..c9e3b40bb8830aabfc0c277cc7bbddff71d20755 100644 --- a/paddle/fluid/operators/activation_op.cc +++ b/paddle/fluid/operators/activation_op.cc @@ -476,6 +476,7 @@ namespace ops = paddle::operators; __macro(sigmoid, Sigmoid); \ __macro(logsigmoid, LogSigmoid); \ __macro(exp, Exp); \ + __macro(relu, Relu); \ __macro(tanh, Tanh); \ __macro(softshrink, SoftShrink); \ __macro(sqrt, Sqrt); \