GatherV2

public final class GatherV2

Mutually accumulates multiple tensors of identical type and shape.

Nested Classes

class GatherV2.Options Optional attributes for GatherV2  

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

Output<T>
asOutput()
Returns the symbolic handle of the tensor.
static GatherV2.Options
communicationHint(String communicationHint)
static <T extends TNumber> GatherV2<T>
create(Scope scope, Operand<T> input, Operand<TInt32> groupSize, Operand<TInt32> groupKey, Operand<TInt32> instanceKey, Options... options)
Factory method to create a class wrapping a new GatherV2 operation.
Output<T>
data()
static GatherV2.Options
timeoutSeconds(Float timeoutSeconds)

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "CollectiveGatherV2"

Public Methods

public Output<T> asOutput ()

Returns the symbolic handle of the 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 GatherV2.Options communicationHint (String communicationHint)

public static GatherV2<T> create (Scope scope, Operand<T> input, Operand<TInt32> groupSize, Operand<TInt32> groupKey, Operand<TInt32> instanceKey, Options... options)

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

Parameters
scope current scope
options carries optional attributes values
Returns
  • a new instance of GatherV2

public Output<T> data ()

public static GatherV2.Options timeoutSeconds (Float timeoutSeconds)