Skip to content

How do I to use a Pad transform with a constant value? #2460

@Nic-Ma

Description

@Nic-Ma

Discussed in #2459

Originally posted by vanossj June 26, 2021
I'm looking at the various pad transforms that end up using np.pad such as SpacialPad. I can set the mode="constant" but how do I provide the constant value to use? np.pad has a constant_values param but I don't see that getting set in SpacialPad

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions