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
32867f40
"docs/git@developer.sourcefind.cn:hehl2/torchaudio.git" did not exist on "793ff00b96db579e65a20a61fd14b05f23e301c1"
Commit
32867f40
authored
Mar 01, 2022
by
Zihan Wang
Browse files
add empty line
parent
d75ec8ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
official/projects/longformer/longformer_encoder_test.py
official/projects/longformer/longformer_encoder_test.py
+1
-0
No files found.
official/projects/longformer/longformer_encoder_test.py
View file @
32867f40
...
@@ -24,6 +24,7 @@ from official.projects.longformer.longformer_encoder import LongformerEncoder
...
@@ -24,6 +24,7 @@ from official.projects.longformer.longformer_encoder import LongformerEncoder
@
keras_parameterized
.
run_all_keras_modes
@
keras_parameterized
.
run_all_keras_modes
class
LongformerEncoderTest
(
keras_parameterized
.
TestCase
):
class
LongformerEncoderTest
(
keras_parameterized
.
TestCase
):
@
combinations
.
generate
(
combinations
.
combine
(
@
combinations
.
generate
(
combinations
.
combine
(
attention_window
=
[
32
,
128
],
global_attention_size
=
[
0
,
1
,
2
]))
attention_window
=
[
32
,
128
],
global_attention_size
=
[
0
,
1
,
2
]))
def
test_encoder
(
self
,
attention_window
,
global_attention_size
):
def
test_encoder
(
self
,
attention_window
,
global_attention_size
):
...
...
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