5,321
edits
Line 109: | Line 109: | ||
* Replication padding | * Replication padding | ||
With convolution layers in | With convolution layers in libraries you often see these two types of padding which can be added to the conv layer directly: | ||
* <code>VALID</code> - Do not do any padding | * <code>VALID</code> - Do not do any padding | ||
* <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\). |