What activation function does fullyConnectedLayer uses?

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?

Answers (1)

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.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!