public final class AnonymousMultiDeviceIterator extends PrimitiveOp
operation
Modifier and Type | Method and Description |
---|---|
static AnonymousMultiDeviceIterator |
create(Scope scope,
List<String> devices,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Factory method to create a class wrapping a new AnonymousMultiDeviceIterator operation.
|
Output<?> |
deleter()
A variant deleter that should be passed into the op that deletes the iterator.
|
Output<?> |
handle()
A handle to a multi device iterator that can be passed to a
"MultiDeviceIteratorGetNextFromShard" op.
|
equals, hashCode, op, toString
public static AnonymousMultiDeviceIterator create(Scope scope, List<String> devices, List<Class<?>> outputTypes, List<Shape> outputShapes)
scope
- current scopedevices
- outputTypes
- outputShapes
- public Output<?> handle()
public Output<?> deleter()
Copyright © 2022. All rights reserved.