Module tch::data

source · []
Expand description

Dataset iterators.

Structs

An iterator over a pair of tensors which have the same first dimension size. The typical use case is to iterate over batches. Each batch is a pair containing a (potentially random) slice of each of the two input tensors.

Text data holder.

Text data iterator.