Class TPUReplicatedOutput<T extends TType>

java.lang.Object
org.tensorflow.op.RawOp
org.tensorflow.op.tpu.TPUReplicatedOutput<T>
All Implemented Interfaces:
Iterable<Operand<T>>, Op

@Deprecated @Operator(group="tpu") public final class TPUReplicatedOutput<T extends TType> extends RawOp implements Iterable<Operand<T>>
Deprecated.
use ReplicatedOutput instead
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)

The above computation has a replicated output of two replicas.

  • Field Details

    • OP_NAME

      public static final String OP_NAME
      Deprecated.
      The name of this op, as known by TensorFlow core engine
      See Also:
  • Constructor Details

    • TPUReplicatedOutput

      public TPUReplicatedOutput(Operation operation)
      Deprecated.
  • Method Details

    • create

      @Endpoint(describeByClass=true) public static <T extends TType> TPUReplicatedOutput<T> create(Scope scope, Operand<T> input, Long numReplicas)
      Deprecated.
      Factory method to create a class wrapping a new TPUReplicatedOutput operation.
      Type Parameters:
      T - data type for TPUReplicatedOutput output and operands
      Parameters:
      scope - current scope
      input - The input value
      numReplicas - The value of the numReplicas attribute
      Returns:
      a new instance of TPUReplicatedOutput
    • outputs

      public List<Output<T>> outputs()
      Deprecated.
      Gets outputs.
      Returns:
      outputs.
    • iterator

      public Iterator<Operand<T>> iterator()
      Deprecated.
      Specified by:
      iterator in interface Iterable<T extends TType>