grain.experimental
module#
Experimental Grain APIs.
List of Members#
Abstract base class for splitting operations of individual elements. |
|
|
Holds options used by dataset transformations. |
|
Represents different modes for tracking execution statistics. |
|
Applies transformations to a dataset. |
|
Iterator supporting recovery from a checkpoint after changes in sharding. |
|
Applies options to transformations in the pipeline. |
|
An IterDataset for a parquet format file. |
|
Flat map for one-to-many split. |
|
Flat map for one-to-many split. |
|
Interleaves the given sequence of datasets. |
|
Limits the number of elements in the dataset. |
|
RNG pool. |
|
Implements first-fit packing of sequences. |
|
The BOS handling done inside a packing algorithm. |
|
Implements concat-then-split packing for sequence features. |
|
Iterable dataset that uses a synchronized queue for prefetching. |
|
Iterator that performs prefetching using a synchronized queue. |
|
Shuffles the parent dataset within a given window. |
|
Shuffles the parent dataset within a given window. |
|
Combines MapDatasets of the same length to return a tuple of items. |
|
Combines IterDatasets of the same length to return a tuple of items. |
|
PyGrain pack-and-batch operation - see module docstring. |
Tests restoring an iterator to various checkpointed states. |
|
|
Moves the data to the given devices with prefetching. |
|
Batches the given values and, if needed, pads the batch to the given size. |