Skip to content

Conversation

@t-vi
Copy link
Collaborator

@t-vi t-vi commented Jun 19, 2018

change avg_pool2/3d count_include_pad default (fixes #8644)

This makes count_include_pad=True the default in the functional interface of avg_pool2d/3d.
The module interface had this default all along and so did the functional interface up to PyTorch 0.4

Torchvision uses the module interface for ResNet and SqueezeNet, the functional interface for Inception and a mix for DenseNet (I only grepped but did not analyse which classes).

@soumith soumith merged commit b8b051c into pytorch:master Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

avg_pool2d/3d padding behaviour default

4 participants