Skip to content

Commit

Permalink
Change the default rnn_mode for ptb_word_lm.py to BLOCK so that it wo…
Browse files Browse the repository at this point in the history
…rks with TF1.4
  • Loading branch information
nealwu committed Nov 29, 2017
1 parent ecf2456 commit 77cab72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/rnn/ptb/ptb_word_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ class SmallConfig(object):
lr_decay = 0.5
batch_size = 20
vocab_size = 10000
rnn_mode = CUDNN
rnn_mode = BLOCK


class MediumConfig(object):
Expand Down

0 comments on commit 77cab72

Please sign in to comment.