MATLAB Answers

How to create a layer using Neural Network like the C3 Layer of LeNet?

4 views (last 30 days)
LINGJUN KONG on 23 Jul 2017
Commented: LINGJUN KONG on 27 Jul 2017
the C3 Layer of LeNet-5,is not a fully connect convolutional layer. every filter of this layer only take 4~5 feature map as a input from the previous layer. how could I build this kind of layer on Matlab? Using the Neural Network ToolBox or other function?

Answers (1)

Carl on 25 Jul 2017
Hi Lingjun. Using the Neural Network Toolbox, you can create a convolutional neural net, and specify the number of filters to apply at each convolutional layer. The number of filters is analogous to the number of output channels, or feature maps. The following page has a good explanation of how this fits into the overall conv net structure:
And here is the documentation for the convolution2dLayer function that you can use to specify the convolutional layer and the feature maps:
LINGJUN KONG on 27 Jul 2017
Thanks for your reply. Hope the Matlab Group could let this software more suitable for ML

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!