cerebras.modelzoo.config_manager.config_classes.base.base_config#
Base implementation for config classes with helper modules
Functions
Custom field definition for config to abstract metadata usage :param default: Default value expected for the field :param constraint: The function to be invoked to set constraints to the parameter value |
|
Iterates over all members of a class and extracts their type hints. |
|
Check if Union type |
|
Set the required constraint type if not already set |
Classes
This class represents a Base Model config, inherited by sub config classes |