View source on GitHub |
Disables eager execution.
tf.compat.v1.disable_eager_execution() -> None
Migrate to TF2
This function is not necessary if you are using TF2. Eager execution is enabled by default. If you want to use Graph mode please consider tf.function.
Description
Used in the notebooks
Used in the tutorials |
---|
This function can only be called before any Graphs, Ops, or Tensors have been created.