AnonymousMultiDeviceIteratorV3

public final class AnonymousMultiDeviceIteratorV3

A container for a multi device iterator resource.

Public Methods

Output<Object>
asOutput()
Returns the symbolic handle of a tensor.
static AnonymousMultiDeviceIteratorV3
create(Scope scope, List<String> devices, List<Class<?>> outputTypes, List<Shape> outputShapes)
Factory method to create a class wrapping a new AnonymousMultiDeviceIteratorV3 operation.
Output<?>
handle()
A handle to a multi device iterator that can be passed to a "MultiDeviceIteratorGetNextFromShard" op.

Inherited Methods

Public Methods

public Output<Object> 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 AnonymousMultiDeviceIteratorV3 create (Scope scope, List<String> devices, List<Class<?>> outputTypes, List<Shape> outputShapes)

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

Parameters
scope current scope
Returns
  • a new instance of AnonymousMultiDeviceIteratorV3

public Output<?> handle ()

A handle to a multi device iterator that can be passed to a "MultiDeviceIteratorGetNextFromShard" op. In contrast to MultiDeviceIterator, AnonymousIterator prevents resource sharing by name, and does not keep a reference to the resource container.