# Module: tfl.linear_lib

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

Implementation of algorithms required for Linear layer.

## Functions

[`assert_constraints(...)`](https://www.tensorflow.org/lattice/api_docs/python/tfl/linear_lib/assert_constraints): Asserts that weights satisfy constraints.

[`project(...)`](https://www.tensorflow.org/lattice/api_docs/python/tfl/linear_lib/project): Applies constraints to weights.

[`verify_hyperparameters(...)`](https://www.tensorflow.org/lattice/api_docs/python/tfl/linear_lib/verify_hyperparameters): Verifies that all given hyperparameters are consistent.

<br />

<br />

<br />

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

<br />