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 Oct. 24, 2022, 5:08 p.m.