Skip to content

Make padding_mode as Enum and stringsΒ #6250

Open
@vfdev-5

Description

Currently padding_mode is a string: "constant", "edge", "reflect", "symmetric" and in the codebase we already have enums like InterpolationMode and others in prototype space.

Let's create an enum for padding mode and convert the type into it while keeping BC by supporting string values.

cc @vfdev-5 @datumbox @bjuncek @pmeier

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions