You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For even kernel sizes the "same" padding scheme actually requires asymmetric padding in order to produce the same output shape.
We only support symmetric padding right now, might be a good idea to add a check in the meantime 😅
If you try a kernel size of 2, 4, 6 or any other even number with same padding I believe you will observe the same behavior.
laggui
changed the title
PaddingConfig::Same doesn't return the same input shape when kernel_size = [2, 2]
Support asymmetric padding for "same" padding with even kernel size
Jan 9, 2025
Describe the bug
PaddingConfig::Same doesn't return the same input shape when kernel_size = [2, 2]
Additional context
The text was updated successfully, but these errors were encountered: