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
259c4347
"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "c13e57bda9be0ca9d628cadb47829ffe0549a8c4"
Commit
259c4347
authored
Mar 02, 2022
by
Zihan Wang
Browse files
lint 2
parent
09e6e71c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
official/projects/longformer/longformer_encoder_block.py
official/projects/longformer/longformer_encoder_block.py
+0
-1
No files found.
official/projects/longformer/longformer_encoder_block.py
View file @
259c4347
...
@@ -184,7 +184,6 @@ class LongformerEncoderBlock(tf.keras.layers.Layer):
...
@@ -184,7 +184,6 @@ class LongformerEncoderBlock(tf.keras.layers.Layer):
# TFLongformerIntermediate.intermediate_act_fn
# TFLongformerIntermediate.intermediate_act_fn
self
.
_intermediate_activation_layer
=
tf
.
keras
.
layers
.
Activation
(
self
.
_intermediate_activation_layer
=
tf
.
keras
.
layers
.
Activation
(
self
.
_inner_activation
,
dtype
=
policy
)
self
.
_inner_activation
,
dtype
=
policy
)
# ???
self
.
_inner_dropout_layer
=
tf
.
keras
.
layers
.
Dropout
(
self
.
_inner_dropout_layer
=
tf
.
keras
.
layers
.
Dropout
(
rate
=
self
.
_inner_dropout
)
rate
=
self
.
_inner_dropout
)
# TFLongformerOutput
# TFLongformerOutput
...
...
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