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
8d8970ef
Unverified
Commit
8d8970ef
authored
Dec 11, 2023
by
NielsRogge
Committed by
GitHub
Dec 11, 2023
Browse files
[BEiT] Fix test (#27934)
Fix test
parent
235be085
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/beit/modeling_beit.py
src/transformers/models/beit/modeling_beit.py
+1
-1
No files found.
src/transformers/models/beit/modeling_beit.py
View file @
8d8970ef
...
@@ -1349,8 +1349,8 @@ class BeitBackbone(BeitPreTrainedModel, BackboneMixin):
...
@@ -1349,8 +1349,8 @@ class BeitBackbone(BeitPreTrainedModel, BackboneMixin):
def
forward
(
def
forward
(
self
,
self
,
pixel_values
:
Tensor
,
pixel_values
:
Tensor
,
output_attentions
:
Optional
[
bool
]
=
None
,
output_hidden_states
:
Optional
[
bool
]
=
None
,
output_hidden_states
:
Optional
[
bool
]
=
None
,
output_attentions
:
Optional
[
bool
]
=
None
,
return_dict
:
Optional
[
bool
]
=
None
,
return_dict
:
Optional
[
bool
]
=
None
,
)
->
BackboneOutput
:
)
->
BackboneOutput
:
"""
"""
...
...
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