Aymeric Damien преди 9 години
родител
ревизия
897fe2c243
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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
     # Indexing
     outputs = tf.gather(tf.reshape(outputs, [-1, n_hidden]), index)
     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']
     return tf.matmul(outputs, weights['out']) + biases['out']
 
 
 pred = dynamicRNN(x, seqlen, weights, biases)
 pred = dynamicRNN(x, seqlen, weights, biases)