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
cf1a1eed
Unverified
Commit
cf1a1eed
authored
Jan 23, 2023
by
amyeroberts
Committed by
GitHub
Jan 23, 2023
Browse files
Add missing checkpoint for doctest (#21258)
parent
5603f78f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/transformers/models/mobilenet_v2/modeling_mobilenet_v2.py
...transformers/models/mobilenet_v2/modeling_mobilenet_v2.py
+1
-0
No files found.
src/transformers/models/mobilenet_v2/modeling_mobilenet_v2.py
View file @
cf1a1eed
...
@@ -637,6 +637,7 @@ class MobileNetV2ForImageClassification(MobileNetV2PreTrainedModel):
...
@@ -637,6 +637,7 @@ class MobileNetV2ForImageClassification(MobileNetV2PreTrainedModel):
@
add_start_docstrings_to_model_forward
(
MOBILENET_V2_INPUTS_DOCSTRING
)
@
add_start_docstrings_to_model_forward
(
MOBILENET_V2_INPUTS_DOCSTRING
)
@
add_code_sample_docstrings
(
@
add_code_sample_docstrings
(
checkpoint
=
_CHECKPOINT_FOR_DOC
,
output_type
=
ImageClassifierOutputWithNoAttention
,
output_type
=
ImageClassifierOutputWithNoAttention
,
config_class
=
_CONFIG_FOR_DOC
,
config_class
=
_CONFIG_FOR_DOC
,
expected_output
=
_IMAGE_CLASS_EXPECTED_OUTPUT
,
expected_output
=
_IMAGE_CLASS_EXPECTED_OUTPUT
,
...
...
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