You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CNN/cnnsetup.m
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,10 @@
23
23
inputmaps = net.layers{l}.outputmaps;
24
24
end
25
25
end
26
+
% 'onum' is the number of labels, that's why it is calculated using size(y, 1). If you have 20 labels so the output of the network will be 20 neurons.
27
+
% 'fvnum' is the number of output neurons at the last layer, the layer just before the output layer.
28
+
% 'ffb' is the biases of the output neurons.
29
+
% 'ffW' is the weights between the last layer and the output neurons. Note that the last layer is fully connected to the output layer, that's why the size of the weights is (onum * fvnum)
0 commit comments