Skip to content

different kernel size and stride in BoundMaxPool #39

@xiangchong1

Description

@xiangchong1

Hello, thanks for the great work!
I noticed that the BoundMaxPool requires to have equal kernel size and stride
https://github.com/Verified-Intelligence/auto_LiRPA/blob/master/auto_LiRPA/operators/pooling.py#L66

Is there any way to remove this constraint? For example, the original ResNet implementation uses maxpooling with a kernel size of 3 and stride of 2. If I use that model, the bound_backward() would raise a ValueError. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions