tf.raw_ops.CollectiveAssignGroupV2
Назначает ключи группы на основе назначения группы.
tf.raw_ops.CollectiveAssignGroupV2(
group_assignment, device_index, base_key, name=None
)
| Аргументы | |
|---|---|
group_assignment | Tensor типа int32. |
device_index | Tensor типа int32. |
base_key | Tensor типа int32. |
name | Имя операции (необязательно). |
| Возвращает | |
|---|---|
Кортеж объектов Tensor (group_size, group_key). | |
group_size | Tensor типа int32. |
group_key | Tensor типа int32. |
© 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/CollectiveAssignGroupV2