@Operator(group="data") 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 wrapping a new IteratorGetNextSync operation.
|
Iterator<Operand<Object>> |
iterator() |
equals, hashCode, op, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static IteratorGetNextSync create(Scope scope, Operand<?> iterator, List<Class<?>> outputTypes, List<Shape> outputShapes)
scope
- current scopeiterator
- outputTypes
- outputShapes
- Copyright © 2022. All rights reserved.