I am following an online tutorial to classify images and started off with dense layers as a starting point to classify cifar10 data.
# Create a model and add layers
model = Sequential()
model.add(Dense(512, activation='relu', input_shape=(32, 32, 3)))
model.add(Dense(10, activation='softmax'))
# Print summary
model.summary()
dense_1 output shape (None, 32, 32, 512)dense_1 output shape (None, 32, 32, 512)
. 'None' represents the batch size, but what does '32,32' represent? Why isn't the shape (None, 512)? Same happens with the dense_2 layer.
Can someone explain it here or point me to a resource that explains this?
Thank you