BarrierReadySize

public final class BarrierReadySize

Computes the number of complete elements in the given barrier.

Public Methods

Output<Integer>
asOutput()
Returns the symbolic handle of a tensor.
static BarrierReadySize
create(Scope scope, Operand<String> handle)
Factory method to create a class wrapping a new BarrierReadySize operation.
Output<Integer>
size()
The number of complete elements (i.e.

Inherited Methods

Public Methods

public Output<Integer> asOutput ()

Returns the symbolic handle of a tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static BarrierReadySize create (Scope scope, Operand<String> handle)

Factory method to create a class wrapping a new BarrierReadySize operation.

Parameters
scope current scope
handle The handle to a barrier.
Returns
  • a new instance of BarrierReadySize

public Output<Integer> size ()

The number of complete elements (i.e. those with all of their value components set) in the barrier.