Remove duplicate docstring: resample (#38305)

Duplicate of the line above.
This commit is contained in:
Cheery 2025-05-23 21:02:58 +01:00 committed by GitHub
parent e0aad278fe
commit dffb118013
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -213,8 +213,6 @@ class DPTImageProcessor(BaseImageProcessor):
resample (`PILImageResampling`, *optional*, defaults to `PILImageResampling.BICUBIC`): resample (`PILImageResampling`, *optional*, defaults to `PILImageResampling.BICUBIC`):
Defines the resampling filter to use if resizing the image. Otherwise, the image is resized to size Defines the resampling filter to use if resizing the image. Otherwise, the image is resized to size
specified in `size`. specified in `size`.
resample (`PILImageResampling`, *optional*, defaults to `PILImageResampling.BICUBIC`):
Resampling filter to use when resiizing the image.
data_format (`str` or `ChannelDimension`, *optional*): data_format (`str` or `ChannelDimension`, *optional*):
The channel dimension format of the image. If not provided, it will be the same as the input image. The channel dimension format of the image. If not provided, it will be the same as the input image.
input_data_format (`str` or `ChannelDimension`, *optional*): input_data_format (`str` or `ChannelDimension`, *optional*):