Create an operation that can be run to initialize this iterator

Create an operation that can be run to initialize this iterator

iterator_make_initializer(iterator, dataset, name = NULL)

Arguments

iterator

An iterator

dataset

A dataset

name

(Optional) A name for the created operation.

Value

A tf$Operation that can be run to initialize this iterator on the given dataset.

See also

Other iterator functions: iterator_get_next, iterator_initializer, iterator_string_handle, make-iterator