Skip to content

Validate interior padding length in Nx.pad #1632

@polvalente

Description

@polvalente

The documentation says negative values in interior padding is not allowed, and logic follows that this doesn't make sense.
We should be validating this in Nx.Shape.pad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions