# tf.raw_ops.NcclBroadcast

<br />

Sends `input` to all devices that are connected to the output.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.NcclBroadcast`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/NcclBroadcast)

<br />

    tf.raw_ops.NcclBroadcast(
        input, shape, name=None
    )

Sends `input` to all devices that are connected to the output.

The graph should be constructed so that all ops connected to the output have a
valid device assignment, and the op itself is assigned one of these devices.

input: The input to the broadcast.
output: The same as input.
shape: The shape of the input tensor.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input` | A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `int32`, `int64`. |
| `shape` | A [`tf.TensorShape`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/TensorShape) or list of `ints`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor`. Has the same type as `input`. ||

<br />