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
d4557be2
Commit
d4557be2
authored
Oct 07, 2020
by
Le Hou
Committed by
A. Unique TensorFlower
Oct 07, 2020
Browse files
Minor bug fixes
PiperOrigin-RevId: 335944731
parent
32d5a722
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
official/nlp/modeling/layers/transformer_scaffold.py
official/nlp/modeling/layers/transformer_scaffold.py
+2
-0
No files found.
official/nlp/modeling/layers/transformer_scaffold.py
View file @
d4557be2
...
...
@@ -224,6 +224,8 @@ class TransformerScaffold(tf.keras.layers.Layer):
self
.
_dropout_rate
,
"attention_dropout_rate"
:
self
.
_attention_dropout_rate
,
"norm_first"
:
self
.
_norm_first
,
"kernel_initializer"
:
tf
.
keras
.
initializers
.
serialize
(
self
.
_kernel_initializer
),
"bias_initializer"
:
...
...
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