TorchLean API

NN.API.Trainer.Dataset

Trainer Datasets #

Trainer.Dataset input target is the public supervised-data interface. It delays both sample construction and conversion into the selected arithmetic representation until training begins. Consequently the same dataset can be used with every executable arithmetic implementation supported by the trainer.

The materialized value is a finite Data.SampleStream: samples are requested by index and need not be stored eagerly. Dataset constructors live in NN.API.Data.Training.

structure TorchLean.Trainer.Dataset (input target : Shape) :

Supervised data with statically known input and target shapes.

Instances For