MakeIterator

public final class MakeIterator

Makes a new iterator from the given `dataset` and stores it in `iterator`.

This operation may be executed multiple times. Each execution will reset the iterator in `iterator` to the first element of `dataset`.

Constants

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

Public Methods

static MakeIterator
create(Scope scope, Operand<?> dataset, Operand<?> iterator)
Factory method to create a class wrapping a new MakeIterator operation.

Inherited Methods

Constants

public static final String OP_NAME

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

Constant Value: "MakeIterator"

Public Methods

public static MakeIterator create (Scope scope, Operand<?> dataset, Operand<?> iterator)

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

Parameters
scope current scope
Returns
  • a new instance of MakeIterator