MultiDeviceIteratorFromStringHandle

public final class MultiDeviceIteratorFromStringHandle

Generates a MultiDeviceIterator resource from its provided string handle.

Nested Classes

class MultiDeviceIteratorFromStringHandle.Options Optional attributes for MultiDeviceIteratorFromStringHandle

Constants

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

Public Methods

Output < TType >
asOutput ()
Returns the symbolic handle of the tensor.
static MultiDeviceIteratorFromStringHandle
create ( Scope scope, Operand < TString > stringHandle, List<Class<? extends TType >> outputTypes, Options... options)
Factory method to create a class wrapping a new MultiDeviceIteratorFromStringHandle operation.
Output <?>
multiDeviceIterator ()
A MultiDeviceIterator resource.
static MultiDeviceIteratorFromStringHandle.Options
outputShapes (List< Shape > outputShapes)

Inherited Methods

Constants

public static final String OP_NAME

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

Constant Value: "MultiDeviceIteratorFromStringHandle"

Public Methods

public Output < TType > 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 MultiDeviceIteratorFromStringHandle create ( Scope scope, Operand < TString > stringHandle, List<Class<? extends TType >> outputTypes, Options... options)

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

Parameters
scope current scope
stringHandle String representing the resource.
outputTypes The type list for the return values.
options carries optional attributes values
Returns
  • a new instance of MultiDeviceIteratorFromStringHandle

public Output <?> multiDeviceIterator ()

A MultiDeviceIterator resource.

public static MultiDeviceIteratorFromStringHandle.Options outputShapes (List< Shape > outputShapes)

Parameters
outputShapes The list of shapes being produced.