Convolution padding and stride | Deep Learning Tutorial 25 (Tensorflow2.0, Keras & Python)
3-Second Blueprint (English)
- Valid convolution shrinks an m×n image with an f×f kernel to (m-f+1)×(n-f+1) and under-samples corner pixels.
- 'Same' padding adds border pixels so output feature maps match input dimensions and corners participate equally.
- Stride controls horizontal and vertical kernel step sizes (e.g., 1×1 vs 2×2) in TensorFlow and Keras layers.
Convolutional Neural NetworksValid & Same PaddingConvolution StrideTensorFlow & Keras
3-Sekunden-Fazit (Deutsch)
- Valid-Faltung verkleinert ein m×n-Bild mit f×f-Filter auf (m-f+1)×(n-f+1) und nutzt Eckpixel kaum aus.
- 'Same'-Padding ergänzt Randpixel, erhält die Eingabegröße und bindet Eckpixel gleichmäßig in die Merkmalserkennung ein.
- Stride steuert die horizontale und vertikale Schrittweite des Filters (z. B. 1×1 oder 2×2) in TensorFlow/Keras.
Convolutional Neural NetworksValid- & Same-PaddingFaltungs-StrideTensorFlow & Keras
Note / Hinweis: Blueprints are AI-generated educational summaries (0% Politics · 0% Religion · 0% Brainrot) and do not constitute medical, legal, or financial advice. / KI-generierte Zusammenfassung zu Bildungszwecken – ersetzt keine medizinische, rechtliche oder finanzielle Fachberatung.