as_array_iterator: Convert tf_dataset to an iterator that yields R arrays.

View source: R/dataset_methods.R

as_array_iteratorR Documentation

Convert tf_dataset to an iterator that yields R arrays.

Description

Convert tf_dataset to an iterator that yields R arrays.

Usage

as_array_iterator(dataset)

Arguments

dataset

A tensorflow dataset

Value

An iterable. Use iterate() or iter_next() to access values from the iterator.


tfdatasets documentation built on Sept. 11, 2024, 8:53 p.m.