ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

BarrierIncompleteSize

public final class BarrierIncompleteSize

Computes the number of incomplete elements in the given barrier.

Public Methods

Output<Integer>
asOutput()
Returns the symbolic handle of a tensor.
static BarrierIncompleteSize
create(Scope scope, Operand<String> handle)
Factory method to create a class wrapping a new BarrierIncompleteSize operation.
Output<Integer>
size()
The number of incomplete 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 BarrierIncompleteSize create (Scope scope, Operand<String> handle)

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

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

public Output<Integer> size ()

The number of incomplete elements (i.e. those with some of their value components not set) in the barrier.