# tfl.premade_lib.build_input_layer

<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#L176-L199) |

Creates a mapping from feature name to [`keras.Input`](https://www.tensorflow.org/api_docs/python/tf/keras/Input).

#### View aliases


**Main aliases**

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

<br />

    tfl.premade_lib.build_input_layer(
        feature_configs, dtype, ragged=False
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `feature_configs` | A list of [`tfl.configs.FeatureConfig`](https://www.tensorflow.org/lattice/api_docs/python/tfl/configs/FeatureConfig) instances that specify configurations for each feature. |
| `dtype` | dtype |
| `ragged` | If the inputs are ragged tensors. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Mapping from feature name to [`keras.Input`](https://www.tensorflow.org/api_docs/python/tf/keras/Input) for the inputs specified by `feature_configs`. ||

<br />