Skip to content

Creating a fully connected layer

Riccardo Viviano edited this page Nov 5, 2019 · 2 revisions
fcl* fcls = fully_connected(input,output,layer,dropout_flag,activation_flag,dropout_threshold);

input: the number of input neurons

output: the number of output neurons

layer: the layer number n in the network (the layers start from 0)

dropout_flag: should be NO_DROPOUT, DROPOUT, DROPOUT_TEST

activation_flag: should be SIGMOID, RELU, LEAKY_RELU, SOFTMAX, TANH, NO_ACTIVATION

dropout_threshold: 0<value<1

Clone this wiki locally