August 2018
Intermediate to advanced
272 pages
7h 2m
English
The layers of neurons that make up the ANNs that we saw earlier are commonly called densely connected layers, or fully connected (FC) layers or simply just linear layers. Some deep learning libraries such as Caffe would actually consider them just as the dot product operation that might or might not be followed by a nonlinearity layer. Its main parameter will be the output size, which will be basically the number of neurons in its output.
In Chapter 1, Setup and Introduction to TensorFlow, we created our own dense layer, but you can create it in an easier way using tf.layers, as follows:
dense_layer = tf.layers.dense(inputs=some_input_layer, units=1024, activation=tf.nn.relu)
Here, we defined a fully connected layer ...
Read now
Unlock full access