提交 58d6946c 编写于 作者: Y yangyaming

Set the act to 'linear'.

上级 a398e25d
...@@ -891,6 +891,7 @@ def lstm_unit(x_t, ...@@ -891,6 +891,7 @@ def lstm_unit(x_t,
size=4 * size, size=4 * size,
param_attr=param_attr, param_attr=param_attr,
bias_attr=bias_attr, bias_attr=bias_attr,
act='linear',
main_program=main_program, main_program=main_program,
startup_program=startup_program) startup_program=startup_program)
dtype = x_t.dtype dtype = x_t.dtype
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册