June 2020
Intermediate to advanced
382 pages
11h 39m
English
There are three steps involved in defining a complete Keras model:
Define the layers.
We can build a model using Keras in two possible ways:
The Sequential API: This allows us to architect models for a linear stack of layers. It is used for relatively simple models and is the usual choice for building models:

Note that, here, we have created three layers – the first two layers have the ReLU activation function and the third layer has softmax as the activation function.
The Functional API: This allows us to architect models for acyclic graphs of layers. More complex models can be created using the Functional API. ...
Read now
Unlock full access