Unverified Commit 42a3da72 authored by Neal Wu's avatar Neal Wu Committed by GitHub
Browse files

Merge pull request #2920 from tensorflow/change-ptb-defaults

Change the default rnn_mode for ptb_word_lm.py to BLOCK so that it works with TF1.4
parents ecf24560 77cab72c
...@@ -331,7 +331,7 @@ class SmallConfig(object): ...@@ -331,7 +331,7 @@ class SmallConfig(object):
lr_decay = 0.5 lr_decay = 0.5
batch_size = 20 batch_size = 20
vocab_size = 10000 vocab_size = 10000
rnn_mode = CUDNN rnn_mode = BLOCK
class MediumConfig(object): class MediumConfig(object):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment