# Module: tfl

<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/__init__.py) |

Tensorflow Lattice Library.

This package provides functions and classes for lattice modeling.

## Modules

[`aggregation_layer`](https://www.tensorflow.org/lattice/api_docs/python/tfl/aggregation_layer) module: Layer which represents aggregation function.

[`categorical_calibration_layer`](https://www.tensorflow.org/lattice/api_docs/python/tfl/categorical_calibration_layer) module: Categorical calibration layer with monotonicity and bound constraints.

[`categorical_calibration_lib`](https://www.tensorflow.org/lattice/api_docs/python/tfl/categorical_calibration_lib) module: Helpers and computations of categorical calibration layer.

[`cdf_layer`](https://www.tensorflow.org/lattice/api_docs/python/tfl/cdf_layer) module: Projection free Cumulative Distribution Function layer.

[`conditional_cdf`](https://www.tensorflow.org/lattice/api_docs/python/tfl/conditional_cdf) module: Implements CDF transformation with derived parameters (kernels).

[`conditional_pwl_calibration`](https://www.tensorflow.org/lattice/api_docs/python/tfl/conditional_pwl_calibration) module: Implements PWLCalibration with derived parameters (kernels).

[`configs`](https://www.tensorflow.org/lattice/api_docs/python/tfl/configs) module: TFL model configuration library for canned estimators.

[`kronecker_factored_lattice_layer`](https://www.tensorflow.org/lattice/api_docs/python/tfl/kronecker_factored_lattice_layer) module: Kronecker-Factored Lattice layer with monotonicity constraints.

[`kronecker_factored_lattice_lib`](https://www.tensorflow.org/lattice/api_docs/python/tfl/kronecker_factored_lattice_lib) module: Algorithm implementations required for Kronecker-Factored Lattice layer.

[`lattice_layer`](https://www.tensorflow.org/lattice/api_docs/python/tfl/lattice_layer) module: Lattice layer with monotonicity, unimodality, trust and bound constraints.

[`lattice_lib`](https://www.tensorflow.org/lattice/api_docs/python/tfl/lattice_lib) module: Implementation of algorithms required for Lattice layer.

[`layers`](https://www.tensorflow.org/lattice/api_docs/python/tfl/layers) module: 'layers' namespace for TFL layers.

[`linear_layer`](https://www.tensorflow.org/lattice/api_docs/python/tfl/linear_layer) module: Layer which represents linear function. See class level comment.

[`linear_lib`](https://www.tensorflow.org/lattice/api_docs/python/tfl/linear_lib) module: Implementation of algorithms required for Linear layer.

[`model_info`](https://www.tensorflow.org/lattice/api_docs/python/tfl/model_info) module: Classes defining trained TFL model structure and parameter information.

[`parallel_combination_layer`](https://www.tensorflow.org/lattice/api_docs/python/tfl/parallel_combination_layer) module: ParallelCombination layer for combining several parallel calibration layers.

[`premade`](https://www.tensorflow.org/lattice/api_docs/python/tfl/premade) module: TF Lattice premade models implement typical monotonic model architectures.

[`premade_lib`](https://www.tensorflow.org/lattice/api_docs/python/tfl/premade_lib) module: Implementation of algorithms required for premade models.

[`pwl_calibration_layer`](https://www.tensorflow.org/lattice/api_docs/python/tfl/pwl_calibration_layer) module: Piecewise linear calibration layer.

[`pwl_calibration_lib`](https://www.tensorflow.org/lattice/api_docs/python/tfl/pwl_calibration_lib) module: Implementation of algorithms required for PWL calibration layer.

[`test_utils`](https://www.tensorflow.org/lattice/api_docs/python/tfl/test_utils) module: Helpers to train simple model for tests and print debug output.

[`utils`](https://www.tensorflow.org/lattice/api_docs/python/tfl/utils) module: Helpers shared by multiple modules in TFL.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| absolute_import | Instance of `__future__._Feature` |

<br />