January 2018
Intermediate to advanced
474 pages
10h 23m
English
Let us learn how to create the layers of the neural network models in TFLearn:
input_layer = tflearn.input_data(shape=[None,num_inputs]
layer1 = tflearn.fully_connected(input_layer,10, activation='relu')layer2 = tflearn.fully_connected(layer1,10, activation='relu')
output = tflearn.fully_connected(layer2,n_classes, activation='softmax')
net = tflearn.regression(output, optimizer='adam', metric=tflearn.metrics.Accuracy(), loss='categorical_crossentropy' )
The TFLearn provides several classes for layers that are described in following sub-sections. ...
Read now
Unlock full access