Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: conv: add note for the dilation computation formula #2359

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shu1chen
Copy link
Contributor

@shu1chen shu1chen commented Jan 9, 2025

Description

The formula for dilated convolution and dilated pooling in oneDNN differs from that used in PyTorch and some other applications. This difference has led to confusion and several related questions in oneDNN, including #2355, #1652, and #438. This PR clarifies the differences in the documentation and updates the code example comments accordingly.

Fixes #2355

@shu1chen shu1chen requested review from a team as code owners January 9, 2025 02:39
@github-actions github-actions bot added documentation A request to change/fix/improve the documentation. Codeowner: @oneapi-src/onednn-doc component:examples labels Jan 9, 2025
@shu1chen shu1chen requested a review from TaoLv January 9, 2025 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:examples documentation A request to change/fix/improve the documentation. Codeowner: @oneapi-src/onednn-doc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Correctness Issue: The Formula Used in OneDNN and PyTorch for MaxPool2d is Inconsistent
1 participant