A Sequential model can be created by passing a stack of layers to the constructor of a class called Sequential.
Sequential models
How to do it...
Creating a basic Sequential mode involves specifying one or more layers.
Create a Sequential model
We will create a Sequential network with four layers.
- Layer 1 is a dense layer which has input_shape of (*, 784) and an output_shape of (*, 32)
A dense layer is a regular densely-connected neural network layer. A Dense layer implements the operation output = activation(dot(input, kernel) + bias), where activation...