What activation function does fullyConnectedLayer uses?
조회 수: 26 (최근 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에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!