dataloader_next: Get the next element of a dataloader iterator

View source: R/utils-data-dataloader.R

dataloader_nextR Documentation

Get the next element of a dataloader iterator

Description

Get the next element of a dataloader iterator

Usage

dataloader_next(iter, completed = NULL)

Arguments

iter

a DataLoader iter created with dataloader_make_iter.

completed

the returned value when the iterator is exhausted.


torch documentation built on May 29, 2024, 9:54 a.m.