Module tch::data[][src]

Dataset iterators.

Structs

Iter2

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.

TextData

Text data holder.

TextDataIter

Text data iterator.