Skip to content

Commit

Permalink
[docs] embeddinginputlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
zsdonghao committed Dec 19, 2016
1 parent fb1901e commit 37899b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tensorlayer/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,8 @@ class EmbeddingInputlayer(Layer):
for Word Embedding. Words are input as integer index.
The output is the embedded word vector.
This class can not be used to train a word embedding matrix, so you should
assign a trained matrix into it. To train a word embedding matrix, you can used
class:`Word2vecEmbeddingInputlayer`.
If you have a pre-train matrix, you can assign the matrix into it.
To train a word embedding matrix, you can used class:`Word2vecEmbeddingInputlayer`.
Note that, do not update this embedding matrix.
Expand Down

0 comments on commit 37899b3

Please sign in to comment.