提交 21f35eef 编写于 作者: T tensor-tang

fix style

上级 b9d7bd48
...@@ -15,10 +15,6 @@ ...@@ -15,10 +15,6 @@
from __future__ import print_function from __future__ import print_function
from .layer_function_generator import generate_layer_fn, generate_layer_fn_noattr from .layer_function_generator import generate_layer_fn, generate_layer_fn_noattr
__activations__ = [
'softshrink',
]
__activations_noattr__ = [ __activations_noattr__ = [
'sigmoid', 'sigmoid',
'logsigmoid', 'logsigmoid',
...@@ -64,7 +60,8 @@ __all__ = [ ...@@ -64,7 +60,8 @@ __all__ = [
'slice', 'slice',
'shape', 'shape',
'maxout', 'maxout',
] + __activations__ 'softshrink',
]
for _OP in set(__all__): for _OP in set(__all__):
globals()[_OP] = generate_layer_fn(_OP) globals()[_OP] = generate_layer_fn(_OP)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册