@Operator(group="data") public final class IteratorGetNextSync extends PrimitiveOp implements java.lang.Iterable<Operand<java.lang.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 | Description |
|---|---|---|
java.util.List<Output<?>> |
components() |
|
static IteratorGetNextSync |
create(Scope scope,
Operand<?> iterator,
java.util.List<java.lang.Class<?>> outputTypes,
java.util.List<Shape> outputShapes) |
Factory method to create a class to wrap a new IteratorGetNextSync operation to the graph.
|
java.util.Iterator<Operand<java.lang.Object>> |
iterator() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, toStringpublic static IteratorGetNextSync create(Scope scope, Operand<?> iterator, java.util.List<java.lang.Class<?>> outputTypes, java.util.List<Shape> outputShapes)
scope - current graph scopeiterator - outputTypes - outputShapes - public java.util.List<Output<?>> components()