Question 1Easy
Which layer type is typically used to detect local patterns such as edges in images?
- Dropout layer
- Convolutional layer
- Embedding layer
- Softmax layer
Answer: B. Convolutional layer
Explanation
Convolutional layers slide small shared filters over the image, picking up local features like edges and textures.
Step-by-step solution
- Filters slide across the image.
- Each filter responds to a local pattern.
- Stacked layers build complex features.
Why the other options are wrong
- A. Dropout is a regulariser, it does not detect patterns.
- C. Embedding maps discrete tokens to vectors, mostly for text.
- D. Softmax converts scores to probabilities at the output.