C1_W3_Lab_1 input shape

Hi,
Please see question in my screenshot below: -


Best wishes,
Brett

Hi @Brett_Hunter,

input_shape defines the image shape - not the matrix. Reason for that is our model should be able to deal with any batch size, so you define only image dimensions, i.e. (28, 28, 1)

If you check the summary, it will show (None, 26, 26, 64), i.e. will be capable to deal with datasets of arbitrary number of images.

image

Note: In my case it shows (None, 26, 26, 32) because Iā€™m using 32 units instead of 64.

Hope it helps,

1 Like