The Colabs in this course are out of date and will be removed in July 2024.
ML Practicum: Image Classification
Stay organized with collections
Save and categorize content based on your preferences.
Check Your Understanding: Convolution
A two-dimensional, 3x3 convolutional filter is applied to a two-dimensional 4x4 input feature map
(no padding added):
What is the shape of the output feature map?
2x2
As the 3x3 filter slides over the 4x4 feature map, there are 4 unique locations in which
it can be placed, which results in a 2x2 output feature map:
3x3
While the filter itself is 3x3, the output feature map is smaller because there are fewer
than 9 (3 times 3) possible locations where the filter can be placed on the 4x4 input
feature map.
4x4
To generate an output feature map with the same dimensions as the input feature map
with no padding, the convolutional filter would have to be 1x1 in shape. A filter
larger than 1x1 will produce an output feature map that is smaller than the input
feature map. Because our filter is 3x3, the output feature map must be smaller
than 4x4.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-07-18 UTC."],[[["Applying a 3x3 convolutional filter to a 4x4 input feature map without padding results in a 2x2 output feature map."],["The output feature map is smaller than the input because the filter's size limits the number of positions it can occupy on the input."],["A 1x1 filter would be required to maintain the input's dimensions in the output without padding."]]],[]]