tf.raw_ops.CollectiveBcastRecv
Stay organized with collections
Save and categorize content based on your preferences.
Receives a tensor value broadcast from another device.
tf.raw_ops.CollectiveBcastRecv(
T,
group_size,
group_key,
instance_key,
shape,
communication_hint='auto',
timeout_seconds=0,
name=None
)
Args |
T
|
A tf.DType from: tf.bool, tf.float32, tf.half, tf.float64, tf.int32, tf.int64 .
|
group_size
|
An int .
|
group_key
|
An int .
|
instance_key
|
An int .
|
shape
|
A tf.TensorShape or list of ints .
|
communication_hint
|
An optional string . Defaults to "auto" .
|
timeout_seconds
|
An optional float . Defaults to 0 .
|
name
|
A name for the operation (optional).
|
Returns |
A Tensor of type T .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tf.raw_ops.CollectiveBcastRecv\n\n\u003cbr /\u003e\n\nReceives a tensor value broadcast from another device.\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.raw_ops.CollectiveBcastRecv`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/CollectiveBcastRecv)\n\n\u003cbr /\u003e\n\n tf.raw_ops.CollectiveBcastRecv(\n T,\n group_size,\n group_key,\n instance_key,\n shape,\n communication_hint='auto',\n timeout_seconds=0,\n name=None\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|----------------------|-------------------------------------------------------------------------------------------------------------|\n| `T` | A [`tf.DType`](../../tf/dtypes/DType) from: `tf.bool, tf.float32, tf.half, tf.float64, tf.int32, tf.int64`. |\n| `group_size` | An `int`. |\n| `group_key` | An `int`. |\n| `instance_key` | An `int`. |\n| `shape` | A [`tf.TensorShape`](../../tf/TensorShape) or list of `ints`. |\n| `communication_hint` | An optional `string`. Defaults to `\"auto\"`. |\n| `timeout_seconds` | An optional `float`. Defaults to `0`. |\n| `name` | A name for the operation (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A `Tensor` of type `T`. ||\n\n\u003cbr /\u003e"]]