liveBook · Manning

Input

Input is a Keras constructor that creates a symbolic tensor specifying the shape and data type accepted by a model.

How 2 Manning books explain it

Deep Learning with Python, Third Edition

A Keras constructor used to create symbolic input objects that specify the expected shape and dtype of model inputs.

How it is used
Creates symbolic model inputs for Functional graphs and prebuilds Sequential models so shapes are available during construction.
How deep it goes
Defines shape, dtype, naming, symbolic propagation, and multi-input use, but does not detail Input implementation internals.
Examples
Uses a two-Dense-layer classifier, a three-input ticket model, and an advance-shaped Sequential model.
What you can do after
Build Functional and prebuilt Sequential models by declaring input specifications before supplying data.

Read how Deep Learning with Python, Third Edition explains Input →

Deep Learning with R, Third Edition

keras_input() is a Keras function that creates a symbolic input tensor specifying the shape and data type accepted by a model.

How it is used
Defines the accepted data specifications when constructing Functional API models.
How deep it goes
Explains symbolic metadata and layer connections, stopping short of actual data processing.
Examples
Uses a three-feature Dense model and a ticket classifier with title, body, and tag inputs.
What you can do after
Build it from scratch by declaring model inputs and connecting them to layers and outputs.

Read how Deep Learning with R, Third Edition explains Input →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.