提交 ef56e683 编写于 作者: Y Yibing Liu

Correct the usage of fc in the example of dynamic_lstm's doc

上级 3b0eff61
...@@ -321,7 +321,7 @@ def dynamic_lstm(input, ...@@ -321,7 +321,7 @@ def dynamic_lstm(input,
hidden_dim = 512 hidden_dim = 512
forward_proj = fluid.layers.fc(input=input_seq, size=hidden_dim * 4, forward_proj = fluid.layers.fc(input=input_seq, size=hidden_dim * 4,
act='tanh', bias_attr=True) act=None, bias_attr=None)
forward, _ = fluid.layers.dynamic_lstm( forward, _ = fluid.layers.dynamic_lstm(
input=forward_proj, size=hidden_dim * 4, use_peepholes=False) input=forward_proj, size=hidden_dim * 4, use_peepholes=False)
""" """
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册