tf.raw_ops.CollectiveAllToAllV3
Взаимно обменивает несколько тензоров одинакового типа и формы.
tf.raw_ops.CollectiveAllToAllV3(
input, communicator, group_assignment, timeout_seconds=0, name=None
)
| Аргументы | |
|---|---|
input | Тензор Tensor. Должен иметь один из следующих типов: bfloat16, float32, half, float64, int32, int64. |
communicator | Tensor типа resource. |
group_assignment | Tensor типа int32. |
timeout_seconds | Необязательный float. По умолчанию — 0. |
name | Имя операции (необязательно). |
| Возвращаемые значения | |
|---|---|
Tensor. Имеет тот же тип, что и input. |
© 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/CollectiveAllToAllV3