The Functional API builds Keras models as graphs of layers with explicit connectivity. It fits models with multiple inputs, multiple outputs, or other nonlinear topologies. section 7.2 section 7.2.2
It starts with symbolic Input tensors, applies layers to those tensors, and finishes by constructing a Model from the chosen inputs and outputs. That makes layer connectivity directly inspectable and reusable. section 7.2.2 section 7.2.5
Common uses here include:
- Building a simple two-layer model with Input, Dense, and Model. section 7.2.2
- Combining several inputs and branching to several outputs for ticket ranking and routing. section 7.2.2
- Plotting models and reusing intermediate layer outputs. section 7.2.2 section 7.2.5
Multi-input ticket classifier
Three inputs—title, text body, and tags—are concatenated, passed through a Dense feature layer, then split into priority and department outputs. The same model is trained and evaluated with either lists or dicts of arrays. section 7.2.2 section 7.2.2
Figure 7.1 Progressive disclosure of complexity for model building
Shows the progression from simple stacks to graph-like model building. section 7.2


