cerebras.modelzoo.config_manager.config_classes.base.base_config.config_field#
- cerebras.modelzoo.config_manager.config_classes.base.base_config.config_field(default: typing.Any = <object object>, constraint: typing.Optional[typing.Callable[[...], typing.Any]] = None)[source]#
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