You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tensorlayer/layers.py
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -410,7 +410,7 @@ class Word2vecEmbeddingInputlayer(Layer):
410
410
name : a string or None
411
411
An optional name to attach to this layer.
412
412
413
-
Variables
413
+
Attributes
414
414
--------------
415
415
nce_cost : a tensor
416
416
The NCE loss.
@@ -543,7 +543,7 @@ class EmbeddingInputlayer(Layer):
543
543
name : a string or None
544
544
An optional name to attach to this layer.
545
545
546
-
Variables
546
+
Attributes
547
547
------------
548
548
outputs : a tensor
549
549
The outputs of embedding layer.
@@ -3777,7 +3777,7 @@ class RNNLayer(Layer):
3777
3777
name : a string or None
3778
3778
An optional name to attach to this layer.
3779
3779
3780
-
Variables
3780
+
Attributes
3781
3781
--------------
3782
3782
outputs : a tensor
3783
3783
The output of this RNN.
@@ -4044,7 +4044,7 @@ class BiRNNLayer(Layer):
4044
4044
name : a string or None
4045
4045
An optional name to attach to this layer.
4046
4046
4047
-
Variables
4047
+
Attributes
4048
4048
--------------
4049
4049
outputs : a tensor
4050
4050
The output of this RNN.
@@ -4634,7 +4634,7 @@ class BiDynamicRNNLayer(Layer):
4634
4634
The number of hidden units in the layer.
4635
4635
initializer : initializer
4636
4636
The initializer for initializing the parameters.
4637
-
sequence_length : a tensor, array or None
4637
+
sequence_length : a tensor, array or None.
4638
4638
The sequence length of each row of input data, see ``Advanced Ops for Dynamic RNN``.
4639
4639
- If None, it uses ``retrieve_seq_length_op`` to compute the sequence_length, i.e. when the features of padding (on right hand side) are all zeros.
4640
4640
- If using word embedding, you may need to compute the sequence_length from the ID array (the integer features before word embedding) by using ``retrieve_seq_length_op2`` or ``retrieve_seq_length_op``.
@@ -4659,7 +4659,7 @@ class BiDynamicRNNLayer(Layer):
0 commit comments