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
chenpangpang
transformers
Commits
a449ffcb
Unverified
Commit
a449ffcb
authored
Jan 22, 2021
by
Julien Plu
Committed by
GitHub
Jan 22, 2021
Browse files
Fix test (#9755)
parent
82d46feb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_modeling_tf_common.py
tests/test_modeling_tf_common.py
+1
-1
No files found.
tests/test_modeling_tf_common.py
View file @
a449ffcb
...
...
@@ -272,7 +272,7 @@ class TFModelTesterMixin:
else
:
output
=
outputs
[
"attentions"
]
self
.
assertEqual
(
len
(
output
),
num_out
)
self
.
assertEqual
(
len
(
output
s
),
num_out
)
self
.
assertEqual
(
len
(
output
),
self
.
model_tester
.
num_hidden_layers
)
self
.
assertListEqual
(
list
(
output
[
0
].
shape
[
-
3
:]),
...
...
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