未验证 提交 361b25db 编写于 作者: L Li Fuchen 提交者: GitHub

Modified the bug in understand_sentiment (#794)

Modified the bug in understand_sentiment
icafe : http://newicafe.baidu.com/issue/76263402/show?cid=5&spaceId=23205&from=email&noticeStatistics=23969354
上级 f621144c
...@@ -173,7 +173,7 @@ def stacked_lstm_net(data, input_dim, class_dim, emb_dim, hid_dim, stacked_num): ...@@ -173,7 +173,7 @@ def stacked_lstm_net(data, input_dim, class_dim, emb_dim, hid_dim, stacked_num):
# Calculate word vectorvector # Calculate word vectorvector
emb = fluid.layers.embedding( emb = fluid.layers.embedding(
input=data, size=[input_dim, emb_dim], is_sparse=True)=True) input=data, size=[input_dim, emb_dim], is_sparse=True)
#First stack #First stack
#Fully connected layer #Fully connected layer
......
...@@ -215,7 +215,7 @@ def stacked_lstm_net(data, input_dim, class_dim, emb_dim, hid_dim, stacked_num): ...@@ -215,7 +215,7 @@ def stacked_lstm_net(data, input_dim, class_dim, emb_dim, hid_dim, stacked_num):
# Calculate word vectorvector # Calculate word vectorvector
emb = fluid.layers.embedding( emb = fluid.layers.embedding(
input=data, size=[input_dim, emb_dim], is_sparse=True)=True) input=data, size=[input_dim, emb_dim], is_sparse=True)
#First stack #First stack
#Fully connected layer #Fully connected layer
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册