What activation function does fullyConnectedLayer uses?
14 次查看(过去 30 天)
显示 更早的评论
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 个评论
Mohammad Sami
2020-5-28
A prior answer from 2017 indicates that activation layer has to be added in as a layer.
Please see this for details.
回答(1 个)
Srivardhan Gadila
2020-5-30
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!