liveBook · Manning

Functional API

As explained in Evolutionary Deep Learning: Genetic algorithms and neural networks

The Keras Functional API is an interface for defining neural-network models as directed graphs of layer operations and tensors.

The Keras Functional API describes a neural network as connected layer functions, allowing reusable functional chunks to be assembled into an environment-specific model. section 12.6

Branching and recombining layers

Create an input tensor, apply three reusable Dense layers in parallel, concatenate their outputs, pass them to an environment-specific output layer, and compile the resulting Model.

How Evolutionary Deep Learning: Genetic algorithms and neural networks covers it

How deep it goes
Demonstrates executable model construction with branching and concatenation, but does not develop the API beyond this application.
Examples
Uses Dense layers, parallel branches, concatenation, environment-specific inputs and outputs, and an instinct-selection list.
What it assumes
Assumes familiarity with DQN or deep reinforcement learning while demonstrating the functional construction incrementally.
What you can do after
Builds and compiles branched Keras models from supplied layer functions.
How it connects
Connects layers, tensors, neural-network models, deep reinforcement learning, DQN, and evolutionary optimization.

Also explained in

Compare how 3 books explain Functional API →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Evolutionary Deep Learning: Genetic algorithms and neural networks. The section links point to the parts of the book it draws on.