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
440f31ab
Commit
440f31ab
authored
Dec 06, 2019
by
Chen Chen
Committed by
A. Unique TensorFlower
Dec 06, 2019
Browse files
Internal Change
PiperOrigin-RevId: 284278191
parent
22e20f84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/nlp/bert_models.py
official/nlp/bert_models.py
+1
-1
No files found.
official/nlp/bert_models.py
View file @
440f31ab
...
...
@@ -152,7 +152,7 @@ def _get_transformer_encoder(bert_config,
num_layers
=
bert_config
.
num_hidden_layers
,
num_attention_heads
=
bert_config
.
num_attention_heads
,
intermediate_size
=
bert_config
.
intermediate_size
,
activation
=
tf_utils
.
get_activation
(
'gelu'
),
activation
=
tf_utils
.
get_activation
(
bert_config
.
hidden_act
),
dropout_rate
=
bert_config
.
hidden_dropout_prob
,
attention_dropout_rate
=
bert_config
.
attention_probs_dropout_prob
,
sequence_length
=
sequence_length
,
...
...
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