tf.disable_eager_execution
Отключает жадное выполнение.
tf.disable_eager_execution()
Эта функция может быть вызвана только до создания каких-либо графов, операций или тензоров. Она может использоваться в начале программы для сложных проектов миграции из TensorFlow 1.x в 2.x.
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/disable_eager_execution