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

Always set auto_pad attribute for pooling and convolution operators #333

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

robertknight
Copy link
Owner

Fix a mistake from 917980b where the auto_pad attribute was only written to the model file if non-fixed padding was used. This caused operators to use "same" padding instead of "fixed" padding when the ONNX auto_pad attribute was set to NOTSET.

Fixes #332

Fix a mistake from 917980b where the `auto_pad` attribute was only written to
the model file if non-fixed padding was used. This caused operators to use
"same" padding instead of "fixed" padding when the ONNX `auto_pad` attribute was
set to `NOTSET`.

Fixes #332
@robertknight robertknight merged commit e741f69 into main Aug 26, 2024
2 checks passed
@robertknight robertknight deleted the always-set-auto-pad branch August 26, 2024 18:59
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.

Incorrect convolution output shape for MIT/ast-finetuned-audioset-10-10-0.4593 model
1 participant