Jump to content

Convolutional neural network: Difference between revisions

Line 82: Line 82:
* <code>SAME</code> - Apply zero padding such that the output will have resolution \(\lfloor x/stride \rfloor\).
* <code>SAME</code> - Apply zero padding such that the output will have resolution \(\lfloor x/stride \rfloor\).
** \(p=\frac{k-1}{2}\)
** \(p=\frac{k-1}{2}\)
** Exact behavior varies between ML frameworks. Only apply this unless you know you will have symmetric padding on both sides.
** Exact behavior varies between ML frameworks. Only apply this when you know you will have symmetric padding on both sides.


===Dilation===
===Dilation===