Praktik ML: Klasifikasi Gambar
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Periksa Pemahaman Anda: Konvolusi
Filter konvolusional 3x3 dua dimensi diterapkan ke peta fitur input 4x4 dua dimensi
(tanpa menambahkan padding):

Seperti apa bentuk peta fitur output?
2x2
Saat filter 3x3 meluncur di atas peta fitur 4x4, ada 4 lokasi unik tempat filter tersebut dapat ditempatkan, yang menghasilkan peta fitur output 2x2:

3x3
Meskipun filternya sendiri berukuran 3x3, peta fitur output lebih kecil karena ada kurang dari 9 (3 kali 3) kemungkinan lokasi tempat filter dapat ditempatkan pada peta fitur input 4x4.
4x4
Untuk menghasilkan peta fitur output dengan dimensi yang sama seperti peta fitur input
tanpa padding, filter konvolusional harus berbentuk 1x1. Filter
yang lebih besar dari 1x1 akan menghasilkan peta fitur output yang lebih kecil daripada peta
fitur input. Karena filter kita berukuran 3x3, peta fitur output harus lebih kecil
daripada 4x4.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-27 UTC."],[[["\u003cp\u003eApplying a 3x3 convolutional filter to a 4x4 input feature map without padding results in a 2x2 output feature map.\u003c/p\u003e\n"],["\u003cp\u003eThe output feature map is smaller than the input because the filter's size limits the number of positions it can occupy on the input.\u003c/p\u003e\n"],["\u003cp\u003eA 1x1 filter would be required to maintain the input's dimensions in the output without padding.\u003c/p\u003e\n"]]],[],null,["# ML Practicum: Image Classification\n\n\u003cbr /\u003e\n\nCheck Your Understanding: Convolution\n-------------------------------------\n\nA two-dimensional, 3x3 convolutional filter is applied to a two-dimensional 4x4 input feature map\n(no padding added):\n\nWhat is the shape of the output feature map? \n2x2 \nAs 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: \n3x3 \nWhile 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. \n4x4 \nTo 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."]]