Skip to content

Add pad args to all padding transforms #2752

@dlotfi

Description

@dlotfi

While np_kwargs argument has been added to several padding transforms such as SpatialPad, BorderPad, DivisiblePad, ResizeWithPadOrCrop, some other padding transforms which use np.pad internally still don't have this argument, including: Zoom, RandZoom and CropForeground

It'd be really helpful if these transforms have np_kwargs as well. I precisely need to specify constant_values in RandZoom.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions