Get startedGet started for free

Calculate the size of convolutional layer output

Zero padding and strides affect the size of the output of a convolution.

What is the size of the output for an input of size 256 by 256, with a kernel of size 4 by 4, padding of 1 and strides of 2?

This exercise is part of the course

Image Modeling with Keras

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise