The first step is defining the model. Keras provides two different APIs to define the model: The sequential API The functional API