April 2026
461 pages
17h 56m
English
The TensorFlow ecosystem offers a number of options that make it all the more interesting. We’ll describe them briefly here.
One of the biggest and most important changes in TensorFlow 2 compared to versions 1.10 to 1.18 (we’ll abbreviate this as 1.10+) is the introduction of eager execution. Without eager execution, a calculation graph must always be created first, which is then executed in the second step within a session. In Listing C.1, eager execution is deactivated in the TensorFlow 2 library and thus corresponds to a TensorFlow code of versions 1.10+.
import tensorflow as tffrom tensorflow.python.framework.ops import disable_eager_execution, enable_eager_executiondisable_eager_execution() ...
Read now
Unlock full access