Keras Sequential Class
The Keras sequential class helps to form a cluster of a layer that is linearly stacked into tf.keras.Model. The features of training and inference are provided by sequential to this model.
With the help of the add method, you will be permitted to add the layer's instance located at the top of the stack layer.
It helps in the removal of the last layer from the model.