Skip to content

Commit

Permalink
Update lab-12-2-char-seq-rnn.py (hunkim#183)
Browse files Browse the repository at this point in the history
X_for_fc should be used instead of output
  • Loading branch information
ep1804 authored and kkweon committed Jun 18, 2017
1 parent 2b19b50 commit 7e11772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lab-12-2-char-seq-rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

# FC layer
X_for_fc = tf.reshape(outputs, [-1, hidden_size])
outputs = tf.contrib.layers.fully_connected(outputs, num_classes, activation_fn=None)
outputs = tf.contrib.layers.fully_connected(X_for_fc, num_classes, activation_fn=None)

# reshape out for sequence_loss
outputs = tf.reshape(outputs, [batch_size, sequence_length, num_classes])
Expand Down

0 comments on commit 7e11772

Please sign in to comment.