Input
Input is a Keras constructor that creates a symbolic tensor specifying the shape and data type accepted by a model.
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 →
What to know first
- Sequential modelA sequential model is a neural-network model comprising a linear, ordered stack of layers through which data flows from input to output.
Related concepts
- symbolic tensorproduces · A symbolic tensor is a tensor-like placeholder that specifies shape and data type without containing actual data values.
- inputkind of · An input is information, a value, or an action supplied to a system, program, or computation for processing or to influence its behavior.
- generationconfigures · Generation is the production of an output by a computational model from supplied input or context, often using patterns learned from data.
Questions about Input
What is Input?
Input is a Keras constructor that creates a symbolic tensor specifying the shape and data type accepted by a model.
Which Manning books explain Input?
Deep Learning with Python, Third Edition and Deep Learning with R, Third Edition.
What should I know before learning Input?
Manning books that teach Input usually introduce Sequential model first.
What is Input a kind of?
Input is a kind of input. An input is information, a value, or an action supplied to a system, program, or computation for processing or to influence its behavior.
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.

