cerebras.modelzoo.data.common.SyntheticDataProcessor#
Utilities for generating synthetic data based on some specification.
Functions
Constructs TensorSpec instances to contain the leaf nodes of the tree structure before flattening. |
|
After mapping the TensorSpecs to tensors/callables, return them directly as leaf nodes instead of reconstructing a dictionary when unflattening. |
Classes
Creates a synthetic dataset. |