AI & ML Code Reorder Hard +35 XP
Neural Network Layers
Arrange Keras model layer order for image classification.
Click lines in the correct order
Available lines4 left
Your order
Click lines above to build your solution.
Show answer and explanation
Answer: model = Sequential()
model.add(Conv2D(32, (3,3), activation='relu'))
model.add(Flatten())
model.add(Dense(10, activation='softmax'))
Create model, add conv layers to extract features, flatten to 1D, then dense output layer with softmax for classification.
Hint: Conv extracts features, Flatten bridges to Dense.
What this challenge tests
Code Reorder in AI & ML: keras, cnn, architecture.