public final class
ReplicatedOutput
Connects N outputs from an N-way replicated TPU computation.
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)
Constants
String | OP_NAME | The name of this op, as known by TensorFlow core engine |
Public Methods
static <T extends TType> ReplicatedOutput<T> | |
Iterator<Operand<T>> |
iterator()
|
List<Output<T>> |
outputs()
|
Inherited Methods
Constants
public static final String OP_NAME
The name of this op, as known by TensorFlow core engine
Constant Value:
"TPUReplicatedOutput"
Public Methods
public static ReplicatedOutput<T> create (Scope scope, Operand<T> input, Long numReplicas)
Factory method to create a class wrapping a new ReplicatedOutput operation.
Parameters
scope | current scope |
---|
Returns
- a new instance of ReplicatedOutput