Skip to content

padding has incorrect dimension for nn.AvgPool2d's def __init__() #776

Description

@dyollb

super(AvgPool3dSame, self).__init__(kernel_size, stride, (0, 0, 0), ceil_mode, count_include_pad)

Running mypy yields arg-type error.

See https://docs.pytorch.org/docs/stable/generated/torch.nn.AvgPool2d.html#avgpool2d

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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