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
77452fe3
Commit
77452fe3
authored
Aug 04, 2022
by
Yuexin Wu
Committed by
A. Unique TensorFlower
Aug 04, 2022
Browse files
Change the default value of `share_rezero` to be False.
PiperOrigin-RevId: 465482790
parent
d0b623d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/nlp/modeling/networks/funnel_transformer.py
official/nlp/modeling/networks/funnel_transformer.py
+1
-1
No files found.
official/nlp/modeling/networks/funnel_transformer.py
View file @
77452fe3
...
...
@@ -253,7 +253,7 @@ class FunnelTransformerEncoder(tf.keras.layers.Layer):
norm_first
:
bool
=
False
,
transformer_cls
:
Union
[
str
,
tf
.
keras
.
layers
.
Layer
]
=
layers
.
TransformerEncoderBlock
,
share_rezero
:
bool
=
Tru
e
,
share_rezero
:
bool
=
Fals
e
,
**
kwargs
):
super
().
__init__
(
**
kwargs
)
activation
=
tf
.
keras
.
activations
.
get
(
inner_activation
)
...
...
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