datasets#

A collection of keras.utils.PyDatasets, which wrap your data-generating process (i.e., your Simulator) and thus determine the effective training strategy (e.g., online or offline).

Classes

DiskDataset(root, *[, pattern, load_fn])

A dataset used to load pre-simulated files from disk.

OfflineDataset(data, batch_size, adapter[, ...])

A dataset that is pre-simulated and stored in memory.

OnlineDataset(simulator, batch_size, ...)

A dataset that is generated on-the-fly.

RoundsDataset(simulator, batch_size, ...)

A dataset that is generated on-the-fly at the beginning of every n-th epoch.