tf.raw_ops.CollectiveInitializeCommunicator
Инициализирует группу для коллективных операций.
tf.raw_ops.CollectiveInitializeCommunicator(
group_key,
rank,
group_size,
communication_hint='auto',
timeout_seconds=0,
name=None
)
| Аргументы | |
|---|---|
group_key | A Tensor типа int32. |
rank | A Tensor типа int32. |
group_size | A Tensor типа int32. |
communication_hint | Необязательный string. По умолчанию "auto". |
timeout_seconds | Необязательный float. По умолчанию 0. |
name | Название операции (необязательно). |
| Возвращает | |
|---|---|
A Tensor типа resource. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/raw_ops/CollectiveInitializeCommunicator