diff --git a/06.understand_sentiment/README.md b/06.understand_sentiment/README.md index 4a9d22df5a4b82d7cea3a773efa5e480c81045a0..e3b05ee9b804f8ceb5a7f192f8749d113feda034 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 d631b65c04312ae61d587db61dc4518f8adafbec..ce37acff6ddde19ee5bdcc3ac1eedb3bea0ddd69 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