Question: Explain the concept of a TensorFlow Graph and Session in version 2.x.Answer: In TensorFlow 2.x, eager execution is enabled by default, eliminating the need for explicit sessions and graphs. Computation is executed imperatively, as in regular Python code.Example: No explicit session or graph code is required in TensorFlow 2.x |
Is it helpful?
Yes
No
Most helpful rated by users: