From 361b25dbf4822fe5abf5c3f7c2618c873562c565 Mon Sep 17 00:00:00 2001 From: Li Fuchen Date: Mon, 26 Aug 2019 14:19:41 +0800 Subject: [PATCH] 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¬iceStatistics=23969354 --- 06.understand_sentiment/README.md | 2 +- 06.understand_sentiment/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/06.understand_sentiment/README.md b/06.understand_sentiment/README.md index 4a9d22d..e3b05ee 100644 --- a/06.understand_sentiment/README.md +++ b/06.understand_sentiment/README.md @@ -173,7 +173,7 @@ def stacked_lstm_net(data, input_dim, class_dim, emb_dim, hid_dim, stacked_num): # Calculate word vectorvector 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 #Fully connected layer diff --git a/06.understand_sentiment/index.html b/06.understand_sentiment/index.html index d631b65..ce37acf 100644 --- a/06.understand_sentiment/index.html +++ b/06.understand_sentiment/index.html @@ -215,7 +215,7 @@ def stacked_lstm_net(data, input_dim, class_dim, emb_dim, hid_dim, stacked_num): # Calculate word vectorvector 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 #Fully connected layer -- GitLab