Skip to content

Commit 6112b1c

Browse files
authored
[doc] image_processing_vilt.py wrong default documented (#24931)
[doc] image_processing_vilt.py wrong default
1 parent ee4250a commit 6112b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/models/vilt/image_processing_vilt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def pad(
307307
Args:
308308
images (`List[np.ndarray]`):
309309
Batch of images to pad.
310-
return_pixel_mask (`bool`, *optional*, defaults to `False`):
310+
return_pixel_mask (`bool`, *optional*, defaults to `True`):
311311
Whether to return the pixel mask.
312312
return_tensors (`str` or `TensorType`, *optional*):
313313
The type of tensors to return. Can be one of:

0 commit comments

Comments
 (0)