Allow enabled of eager execution
See original GitHub issueRelated https://github.com/mortendahl/tf-encrypted/issues/278
Right now tfe doesn’t work out of the box with eager execution. One of the issues is that by default we use multiple devices to do our computation and currently eager execution doesn’t work on more than one device. We’ll have to do some other investigation to see if there are other problems.
I propose we add a function like tfe.enable_eager_execution()
that modifies the configuration of tfe so that eager execution works.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:8 (8 by maintainers)
Top Results From Across the Web
tf.compat.v1.enable_eager_execution | TensorFlow v2.11.0
Eager execution cannot be enabled after TensorFlow APIs have been used to create or execute graphs. It is typically recommended to invoke this ......
Read more >Unable to Enable Tensorflows Eager execution - Stack Overflow
In tensorflow 2.0 the eager execution is enabled by default. You don't need to enable it in your program. E.g import tensorflow as...
Read more >Enable Eager Execution in TensorFlow - IBM Developer
With TensorFlow 2.x, Eager Execution is enabled by default, and allows TensorFlow code to be run and evaluated line by line.
Read more >Eager Execution in Tensorflow 2.0 | by Arun Raja - Medium
Eager Execution in Tensorflow 2.0 · import osimport tensorflow as tfimport cProfiletf. · #Dataset setup (mnist_images, mnist_labels), _ = tf.
Read more >Plans to enable eager execution from TF 2.0? #122 - GitHub
v1.disable_eager_execution() ). Are there any plans to upgrade this package to work in TF 2.0 (with eager execution)?. I believe that would ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m no longer actively looking at this.
Eager execution is enabled in TFE based on TF2, it also supports building graph by
tfe.function
.