Skip to content

Commit 37899b3

Browse files
committed
[docs] embeddinginputlayer
1 parent fb1901e commit 37899b3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tensorlayer/layers.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,8 @@ class EmbeddingInputlayer(Layer):
423423
for Word Embedding. Words are input as integer index.
424424
The output is the embedded word vector.
425425
426-
This class can not be used to train a word embedding matrix, so you should
427-
assign a trained matrix into it. To train a word embedding matrix, you can used
428-
class:`Word2vecEmbeddingInputlayer`.
426+
If you have a pre-train matrix, you can assign the matrix into it.
427+
To train a word embedding matrix, you can used class:`Word2vecEmbeddingInputlayer`.
429428
430429
Note that, do not update this embedding matrix.
431430

0 commit comments

Comments
 (0)