Output layer

The output layer in this example looks like any other multiclass classification. I've included a single dense layer before the output layer as well, as shown in the following code:

x = Dense(128, activation='relu')(x)preds = Dense(20, activation='softmax')(x)

Get Deep Learning Quick Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.