Search⌘ K
AI Features

Keras Sequential API

Explore how to build neural networks using the Keras Sequential API. Understand layer stacking, parameter calculation, and model structure to efficiently create models ready for deployment in Android apps.

Keras offers different ways to create DL models. Let’s focus on the sequential Keras model.

Building DL models

The different ways to build DL models in Keras include:

  • The Sequential model class: This allows us to define a DL model in a single line of code.

  • The Functional interface: This can create complicated model architectures.

  • The Model subclass: This uses object-oriented concepts to allow us to reuse models. ...