Explicit padding explanation #1143
Replies: 1 comment 1 reply
-
Hello. Deconv is essentially a Conv upside-down. It sounds simple like that, but the details are an absolute brain twister. You can look at https://github.com/sonos/tract/blob/main/core/src/ops/cnn/padding.rs where this logic is centralized (for conv, deconv, but also pooling operations), there are actually a couple of unit tests. To add to this specific nightmare, onnx rules are super weird (I suspect there was a misplaced parens in the initial spec, but now everybody is reproducing it, so we kinda have to follow though too). |
Beta Was this translation helpful? Give feedback.
-
Heya was wondering if there was a resource for explaining what the different parameters within
correspond to.
It seems like the meaning of it varies per op. Eg. meaning will differ from Deconv vs Conv op. Is that correct ?
Beta Was this translation helpful? Give feedback.
All reactions