tf.contrib.eager.enable_remote_eager_execution
Включает режим eager execution на протяжении всего выполнения этой программы.
tf.contrib.eager.enable_remote_eager_execution(
config=None, device_policy=None, execution_mode=None, server_def=None
)
Большая часть документации для enable_eager_execution также актуальна здесь.
| Аргументы | |
|---|---|
config | См. строку документации для enable_eager_execution |
device_policy | См. строку документации для enable_eager_execution |
execution_mode | См. строку документации для enable_eager_execution |
server_def | (Необязательно.) tensorflow::ServerDef протокол. Включает выполнение на удалённых устройствах. GrpcСерверы необходимо запускать, создавая идентичный server_def и задавая соответствующие task_indexes, чтобы серверы могли взаимодействовать. Тогда будет возможно выполнять операции на удалённых устройствах. |
| Исключения | |
|---|---|
| ValueError |
© 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/contrib/eager/enable_remote_eager_execution