IteratorGetNextSync

public final class IteratorGetNextSync

Gets the next output from the given iterator.

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).

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

List< Output <?>>
static IteratorGetNextSync
create ( Scope scope, Operand <?> iterator, List<Class<? extends TType >> outputTypes, List< Shape > outputShapes)
Factory method to create a class wrapping a new IteratorGetNextSync operation.
Iterator< Operand < TType >>

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "IteratorGetNextSync"

Public Methods

public List< Output <?>> components ()

public static IteratorGetNextSync create ( Scope scope, Operand <?> iterator, List<Class<? extends TType >> outputTypes, List< Shape > outputShapes)

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

Parameters
scope current scope
Returns
  • a new instance of IteratorGetNextSync

public Iterator< Operand < TType >> iterator ()