Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Explain the concept of eager execution in TensorFlow.
Answer: Eager execution is a mode in TensorFlow that allows operations to be executed immediately as they are called, rather than building a computational graph to execute later.

Example:

tf.compat.v1.enable_eager_execution()
result = tf.add(3, 5).numpy()

Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook