# tfl.premade_lib.build_lattice_ensemble_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#L654-L686) |

Creates an ensemble of [`tfl.layers.Lattice`](https://www.tensorflow.org/lattice/api_docs/python/tfl/layers/Lattice) layers.

#### View aliases


**Main aliases**

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

<br />

    tfl.premade_lib.build_lattice_ensemble_layer(
        submodels_inputs, model_config, dtype
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `submodels_inputs` | List of inputs to each of the lattice layers in the ensemble. The order corresponds to the elements of model_config.lattices. |
| `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). |
| `dtype` | dtype |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A list of [`tfl.layers.Lattice`](https://www.tensorflow.org/lattice/api_docs/python/tfl/layers/Lattice) instances. ||

<br />