# tfl.premade_lib.verify_config

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/lattice/blob/v2.1.1/tensorflow_lattice/python/premade_lib.py#L1788-L1817) |

Verifies that the model_config and feature_configs are properly specified.

#### View aliases


**Main aliases**

[`tfl.premade.premade_lib.verify_config`](https://www.tensorflow.org/lattice/api_docs/python/tfl/premade_lib/verify_config)

<br />

    tfl.premade_lib.verify_config(
        model_config
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `model_config` | Model configuration object describing model architecture. Should be one of the model configs in [`tfl.configs`](https://www.tensorflow.org/lattice/api_docs/python/tfl/configs). |

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| `ValueError` | If `model_config.feature_configs` is None. |
| `ValueError` | If `model_config.output_initialization` is not iterable or contains non-{int/float} values. |

<br />