# tf.raw_ops.TPUReplicatedOutput

<br />

Connects N outputs from an N-way replicated TPU computation.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.TPUReplicatedOutput(
        input, num_replicas, name=None
    )

This operation holds a replicated output from a `tpu.replicate()` computation subgraph.
Each replicated output has the same shape and type alongside the input.

#### For example:

    %computation = "tf.Computation"()
    %replicated_output:2 = "tf.TPUReplicatedOutput"(%computation)

The above computation has a replicated output of two replicas.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input` | A `Tensor`. |
| `num_replicas` | An `int` that is `>= 1`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A list of `num_replicas` `Tensor` objects with the same type as `input`. ||

<br />