@Operator public final class IteratorGetNextSync extends PrimitiveOp implements Iterable<Operand<Object>>
This operation is a synchronous version IteratorGetNext. It should only be used in situations where the iterator does not block the calling thread, or where the calling thread is not a member of the thread pool used to execute parallel operations (e.g. in eager mode).
operation| Modifier and Type | Method and Description |
|---|---|
List<Output<?>> |
components() |
static IteratorGetNextSync |
create(Scope scope,
Operand<?> iterator,
List<Class<?>> outputTypes,
List<Shape> outputShapes)
Factory method to create a class to wrap a new IteratorGetNextSync operation to the graph.
|
Iterator<Operand<Object>> |
iterator() |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static IteratorGetNextSync create(Scope scope, Operand<?> iterator, List<Class<?>> outputTypes, List<Shape> outputShapes)
scope - current graph scopeiterator - outputTypes - outputShapes - Copyright © 2015–2019. All rights reserved.