dataloader_next: Get the next element of a dataloader iterator

Description Usage Arguments

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

Description

Get the next element of a dataloader iterator

Usage

1
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. 7, 2021, 9:22 a.m.