Skip to content

Bug fix: max_pool2d default stride value#36

Merged
TobyRoseman merged 1 commit into
apple:mainfrom
TobyRoseman:max-pool-bug-fix
Jul 13, 2026
Merged

Bug fix: max_pool2d default stride value#36
TobyRoseman merged 1 commit into
apple:mainfrom
TobyRoseman:max-pool-bug-fix

Conversation

@TobyRoseman

Copy link
Copy Markdown
Contributor

We assume stride is always set for max_pool2d. However, the default value is None. This means the kernel_size should be used.

@gokulkrishna98 gokulkrishna98 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks.

@TobyRoseman
TobyRoseman force-pushed the max-pool-bug-fix branch 2 times, most recently from 1e81ec6 to 6e128d1 Compare July 13, 2026 16:55
@TobyRoseman
TobyRoseman merged commit cd21d5a into apple:main Jul 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants