From 2a0a576130b3b04f3555479f1850fd91dbba4d9a Mon Sep 17 00:00:00 2001 From: yangyaming Date: Tue, 16 Jan 2018 21:40:34 +0800 Subject: [PATCH] Add non-linear activation. --- python/paddle/v2/fluid/layers/nn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/v2/fluid/layers/nn.py b/python/paddle/v2/fluid/layers/nn.py index 7c694ed7770..4546616d1af 100644 --- a/python/paddle/v2/fluid/layers/nn.py +++ b/python/paddle/v2/fluid/layers/nn.py @@ -1649,4 +1649,4 @@ def row_conv(input, future_context_size, param_attr=None, act=None): inputs={'X': [input], 'Filter': [filter_param]}, outputs={'Out': [out]}) - return out + return helper.append_activation(out) -- GitLab