UNPKG

federer

Version:

Experiments in asynchronous federated learning and decentralized learning

17 lines 764 B
import { DatasetFilepaths } from "../../../../common"; /** The name of the different MNIST datasets. */ export declare type DatasetName = "mnist" | "fashion-mnist"; /** * Returns the filepaths of the files that make up a dataset. * To ensure that these files exist on disk, call `ensureDataDownloaded`. * * @param dataset Name of the dataset of which to get the filepaths for * @returns Paths to the files that make up `dataset` */ export declare function getFilepaths(dataset: DatasetName): DatasetFilepaths; /** * Ensure that the data for the MNIST dataset `dataset` is downloaded; if it is * not available on disk, download it. */ export declare function ensureDataDownloaded(dataset: DatasetName): Promise<void>; //# sourceMappingURL=download.d.ts.map