scico.flax.train.typed_dict¶
Definition of typed dictionaries for objects in training functionality.
Classes
Dictionary structure for training parameters. |
|
Dictionary structure for training data sets. |
|
Dictionary structure for training metrics. |
|
Dictionary structure for Flax variables. |
- class scico.flax.train.typed_dict.DataSetDict[source]¶
Bases:
TypedDictDictionary structure for training data sets.
Definition of the dictionary structure expected for the training data sets.
- class scico.flax.train.typed_dict.ConfigDict[source]¶
Bases:
TypedDictDictionary structure for training parameters.
Definition of the dictionary structure expected for specifying training parameters.
-
num_epochs:
int¶ Number of epochs for training (an epoch is one whole pass through the training dataset).
-
checkpointing:
bool¶ Flag to indicate if model parameters and optimizer state are to be stored while training.
-
return_state:
bool¶ Flag to indicate if state (params and batch_stats) are to be returned at the end of training.
-
num_epochs:
- class scico.flax.train.typed_dict.ModelVarDict[source]¶
Bases:
TypedDictDictionary structure for Flax variables.
Definition of the dictionary structure grouping all Flax model variables.