View source on GitHub |
Verifies that the model_config and feature_configs are properly specified.
tfl.premade_lib.verify_config(
model_config
)
Args | |
---|---|
model_config
|
Model configuration object describing model architecture.
Should be one of the model configs in tfl.configs .
|
Raises | |
---|---|
ValueError
|
If model_config.feature_configs is None.
|
ValueError
|
If model_config.output_initialization is not iterable or
contains non-{int/float} values.
|