tf.raw_ops.CollectiveBcastRecvV2
Принимает значение тензора, транслируемого с другого устройства.
tf.raw_ops.CollectiveBcastRecvV2(
group_size,
group_key,
instance_key,
shape,
T,
communication_hint='auto',
timeout_seconds=0,
name=None
)
| Аргументы | |
|---|---|
group_size | A Tensor типа int32. |
group_key | A Tensor типа int32. |
instance_key | A Tensor типа int32. |
shape | A Tensor. Должен быть одним из следующих типов: int32, int64. |
T | tf.DType из: tf.bool, tf.float32, tf.half, tf.float64, tf.int32, tf.int64. |
communication_hint | Необязательный string. По умолчанию "auto". |
timeout_seconds | Необязательный float. По умолчанию 0. |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
A Tensor типа T. |
© 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/versions/r2.9/api_docs/python/tf/raw_ops/CollectiveBcastRecvV2