Browse Source

Update dynamic_rnn.py

Aymeric Damien 9 năm trước cách đây
mục cha
commit
897fe2c243
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/3_NeuralNetworks/dynamic_rnn.py

+ 1 - 1
examples/3_NeuralNetworks/dynamic_rnn.py

@@ -146,7 +146,7 @@ def dynamicRNN(x, seqlen, weights, biases):
     # Indexing
     outputs = tf.gather(tf.reshape(outputs, [-1, n_hidden]), index)
 
-    # Linear activation, using rnn inner loop last output
+    # Linear activation, using outputs computed above
     return tf.matmul(outputs, weights['out']) + biases['out']
 
 pred = dynamicRNN(x, seqlen, weights, biases)