Introduction
This is the documentation of the npfl138
package used on the
Deep Learning course NPFL138.
The main class in the npfl138
package is the TrainableModule,
which provides:
- high-level training, evaluation, and prediction API, including automatic device management;
- serialization and deserialization of weights (optionally including the optimizer) and configuration;
- automatic logging.
The TransformedDataset class allows applying both per-example and per-batch transformation functions on a given dataset, and simplifies the creation of a corresponding dataloader.
Furthermore, the package contains a large collection of datasets.
Finally, several utilities are provided.
The npfl138 version
__version__ = '2425.7.2'