tf.executing_eagerly
| Просмотреть исходный код на GitHub |
Возвращает True, если в текущей потоке включена жадная (eager) обработка.
tf.executing_eagerly()
Обычно жадная (eager) обработка включается с помощью tf.compat.v1.enable_eager_execution, но также может быть включена в контексте функции Python с помощью tf.contrib.eager.py_func.
© 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/executing_eagerly