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
aeab8791
Commit
aeab8791
authored
Feb 18, 2021
by
A. Unique TensorFlower
Browse files
Remove a redundant line because it is the same as line 242.
PiperOrigin-RevId: 358301569
parent
ca509f79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
official/nlp/modeling/networks/encoder_scaffold.py
official/nlp/modeling/networks/encoder_scaffold.py
+0
-1
No files found.
official/nlp/modeling/networks/encoder_scaffold.py
View file @
aeab8791
...
@@ -243,7 +243,6 @@ class EncoderScaffold(tf.keras.Model):
...
@@ -243,7 +243,6 @@ class EncoderScaffold(tf.keras.Model):
self
.
_position_embedding_layer
=
position_embedding_layer
self
.
_position_embedding_layer
=
position_embedding_layer
self
.
_type_embedding_layer
=
type_embedding_layer
self
.
_type_embedding_layer
=
type_embedding_layer
self
.
_embedding_norm_layer
=
embedding_norm_layer
self
.
_embedding_norm_layer
=
embedding_norm_layer
self
.
_embedding_network
=
embedding_network
self
.
_hidden_layers
=
hidden_layers
self
.
_hidden_layers
=
hidden_layers
if
self
.
_layer_norm_before_pooling
:
if
self
.
_layer_norm_before_pooling
:
self
.
_output_layer_norm
=
output_layer_norm
self
.
_output_layer_norm
=
output_layer_norm
...
...
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