Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
6112b1c6
Unverified
Commit
6112b1c6
authored
Jul 19, 2023
by
Stas Bekman
Committed by
GitHub
Jul 19, 2023
Browse files
[doc] `image_processing_vilt.py` wrong default documented (#24931)
[doc] image_processing_vilt.py wrong default
parent
ee4250a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/models/vilt/image_processing_vilt.py
src/transformers/models/vilt/image_processing_vilt.py
+1
-1
No files found.
src/transformers/models/vilt/image_processing_vilt.py
View file @
6112b1c6
...
@@ -307,7 +307,7 @@ class ViltImageProcessor(BaseImageProcessor):
...
@@ -307,7 +307,7 @@ class ViltImageProcessor(BaseImageProcessor):
Args:
Args:
images (`List[np.ndarray]`):
images (`List[np.ndarray]`):
Batch of images to pad.
Batch of images to pad.
return_pixel_mask (`bool`, *optional*, defaults to `
Fals
e`):
return_pixel_mask (`bool`, *optional*, defaults to `
Tru
e`):
Whether to return the pixel mask.
Whether to return the pixel mask.
return_tensors (`str` or `TensorType`, *optional*):
return_tensors (`str` or `TensorType`, *optional*):
The type of tensors to return. Can be one of:
The type of tensors to return. Can be one of:
...
...
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