Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
soumith merged 1 commit into
pytorch:masterfrom
t-vi:avg_pool_count_include_pad
Jun 19, 2018
Merged

change avg_pool2/3d count_include_pad default (fixes #8644)#8645
soumith merged 1 commit into
pytorch:masterfrom
t-vi:avg_pool_count_include_pad

Conversation

@t-vi
Copy link
Copy Markdown
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
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
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