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
84840387
Unverified
Commit
84840387
authored
Apr 25, 2020
by
Yuki Ueda
Committed by
GitHub
Apr 24, 2020
Browse files
Replace deprecated functions nn 2 rnn (#7338)
parent
0fb0fa84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
research/deep_speech/deep_speech_model.py
research/deep_speech/deep_speech_model.py
+3
-3
No files found.
research/deep_speech/deep_speech_model.py
View file @
84840387
...
@@ -22,9 +22,9 @@ import tensorflow as tf
...
@@ -22,9 +22,9 @@ import tensorflow as tf
# Supported rnn cells.
# Supported rnn cells.
SUPPORTED_RNNS
=
{
SUPPORTED_RNNS
=
{
"lstm"
:
tf
.
nn
.
rnn_cell
.
BasicLSTMCell
,
"lstm"
:
tf
.
contrib
.
rnn
.
BasicLSTMCell
,
"rnn"
:
tf
.
nn
.
rnn_cell
.
RNNCell
,
"rnn"
:
tf
.
contrib
.
rnn
.
RNNCell
,
"gru"
:
tf
.
nn
.
rnn_cell
.
GRUCell
,
"gru"
:
tf
.
contrib
.
rnn
.
GRUCell
,
}
}
# Parameters for batch normalization.
# Parameters for batch normalization.
...
...
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