From 21f35eefe70a9bd7a3d145e23539863cb01bb148 Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Fri, 21 Sep 2018 17:30:07 +0800 Subject: [PATCH] fix style --- python/paddle/fluid/layers/ops.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/python/paddle/fluid/layers/ops.py b/python/paddle/fluid/layers/ops.py index 4d942170f21..eca6dd2cf19 100644 --- a/python/paddle/fluid/layers/ops.py +++ b/python/paddle/fluid/layers/ops.py @@ -15,10 +15,6 @@ from __future__ import print_function from .layer_function_generator import generate_layer_fn, generate_layer_fn_noattr -__activations__ = [ - 'softshrink', -] - __activations_noattr__ = [ 'sigmoid', 'logsigmoid', @@ -64,7 +60,8 @@ __all__ = [ 'slice', 'shape', 'maxout', -] + __activations__ + 'softshrink', +] for _OP in set(__all__): globals()[_OP] = generate_layer_fn(_OP) -- GitLab