Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
77cab72c
Commit
77cab72c
authored
Nov 28, 2017
by
Neal Wu
Browse files
Change the default rnn_mode for ptb_word_lm.py to BLOCK so that it works with TF1.4
parent
ecf24560
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tutorials/rnn/ptb/ptb_word_lm.py
tutorials/rnn/ptb/ptb_word_lm.py
+1
-1
No files found.
tutorials/rnn/ptb/ptb_word_lm.py
View file @
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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment