liveBook · Manning

Symbolic tensor

A symbolic tensor is a tensor-like placeholder that specifies shape and data type without containing actual data values.

How 2 Manning books explain it

Deep Learning with R, Third Edition

A symbolic tensor is a tensor-like object that encodes the shape and data type of future data without containing actual data values.

How it is used
Uses symbolic tensors to assemble Keras Functional computation graphs before supplying training or inference data.
How deep it goes
Defines symbolic tensors, demonstrates shape and dtype propagation, and distinguishes them from eager tensors during dataset tracing.
Examples
Demonstrates two Dense layers, a multi-input ticket classifier, intermediate-feature reuse, and image-segmentation dataset tracing.
What you can do after
Builds Functional Keras models, inspect their symbolic shapes and connections, and distinguish traced pipeline values from concrete examples.

Read how Deep Learning with R, Third Edition explains symbolic tensor →

Deep Learning with Python, Third Edition

A tensor-like placeholder that encodes shape and dtype information without holding actual data values.

How it is used
Represents future data while constructing Keras Functional API model graphs.
How deep it goes
Defines shape and dtype propagation through layers, but does not contain or process actual data values.
Examples
Uses keras.Input, Dense layers, shape inspection, and a two-layer Functional model.
What you can do after
Build it from scratch by connecting Keras layers and declaring model inputs and outputs.

Read how Deep Learning with Python, Third Edition explains symbolic tensor →

What to know first

Related concepts

Questions about symbolic tensor

What is symbolic tensor?

A symbolic tensor is a tensor-like placeholder that specifies shape and data type without containing actual data values.

Which Manning books explain symbolic tensor?

Deep Learning with R, Third Edition and Deep Learning with Python, Third Edition.

What should I know before learning symbolic tensor?

Manning books that teach symbolic tensor usually introduce Sequential model first.

What is the difference between symbolic tensor and eager tensor?

A symbolic tensor is a tensor-like placeholder that specifies shape and data type without containing actual data values. An eager tensor is a TensorFlow tensor containing concrete values that can be evaluated and inspected immediately.

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.