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
b42010bb
"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "a44d2dc3a94cbbb44eccb1a60e1bf4a998b4d2b6"
Unverified
Commit
b42010bb
authored
Aug 14, 2023
by
Matt
Committed by
GitHub
Aug 14, 2023
Browse files
Conditional DETR type hint fix (#25505)
parent
c4129196
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/conditional_detr/modeling_conditional_detr.py
...mers/models/conditional_detr/modeling_conditional_detr.py
+1
-1
No files found.
src/transformers/models/conditional_detr/modeling_conditional_detr.py
View file @
b42010bb
...
@@ -1534,7 +1534,7 @@ class ConditionalDetrModel(ConditionalDetrPreTrainedModel):
...
@@ -1534,7 +1534,7 @@ class ConditionalDetrModel(ConditionalDetrPreTrainedModel):
output_attentions
:
Optional
[
bool
]
=
None
,
output_attentions
:
Optional
[
bool
]
=
None
,
output_hidden_states
:
Optional
[
bool
]
=
None
,
output_hidden_states
:
Optional
[
bool
]
=
None
,
return_dict
:
Optional
[
bool
]
=
None
,
return_dict
:
Optional
[
bool
]
=
None
,
)
->
Union
[
torch
.
FloatTensor
,
ConditionalDetrModelOutput
]:
)
->
Union
[
Tuple
[
torch
.
FloatTensor
]
,
ConditionalDetrModelOutput
]:
r
"""
r
"""
Returns:
Returns:
...
...
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