AttributeError: module ‘tensorflow’ has no attribute ‘enable_eager_execution’
Mar 7, 2021
No overhead anymore — Tensorflow…
Hi,
You might be getting this problem because of the TensorFlow version.
- Check your TensorFlow version
2. So, Now if you are using enable_eager_execution
, It will raise an Error. Because TensorFlow 2 by default running eager_execution(). You can check it!
3. If your TensorFlow version is less than 2.0 then enable_eager_execution
will not raise an error.
So, If you are using TensorFlow 2. No need to do it manually, Hurray!
For more updates in the field of Computer Science, go to my YouTube channel: