What activation function does fullyConnectedLayer uses?
Ältere Kommentare anzeigen
I checked it here: https://se.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.fullyconnectedlayer.html
It says it multiple the input with weight and add bias but I couldn't find any thing related to activation function. Can anyone help me on it?
1 Kommentar
Mohammad Sami
am 28 Mai 2020
A prior answer from 2017 indicates that activation layer has to be added in as a layer.
Please see this for details.
Antworten (1)
Srivardhan Gadila
am 30 Mai 2020
0 Stimmen
As mentioned by @Mohammad Sami, In order for an activation function after fullyConnectedLayer, you have to include an activation layer after the fullyConnectedLayer in your layers/layerGraph array.
Refer to Activation Layers for list of available activation layers in Deep Learning Toolbox & layerGraph.
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!