Smallest CNN possible
Version 1.0.0 (2.49 KB) by
Lyes Demri
Smallest CNN taking 3x3 pictures as inputs and able to recognize 4 classes
This very simple network shows an example of a CNN learning to distinguishv between 4 simple classes. The input image is only 3x3 pixels and the convolutional filter is 2x2 pixels. The network is composed of one convolutional layer and 1 fully connected layer. The small size of the network helps reducing computation time so as to confirm functionality. I've added comments to explain the basics of how it works, if that can help anyone.
Cite As
Lyes Demri (2024). Smallest CNN possible (https://www.mathworks.com/matlabcentral/fileexchange/121577-smallest-cnn-possible), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |