# Module: tfl.linear_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/linear_layer.py) |

Layer which represents linear function. See class level comment.

This layer applies a linear transformation to the input tensor with an optional
bias term. It supports monotonicity, monotonic dominance and fixed-norm
constraints.

## Classes

[`class LinearConstraints`](https://www.tensorflow.org/lattice/api_docs/python/tfl/linear_layer/LinearConstraints): Applies monotonicity constraints and normalization to TFL Linear layer.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| LINEAR_LAYER_BIAS_NAME | `'linear_layer_bias'` |
| LINEAR_LAYER_KERNEL_NAME | `'linear_layer_kernel'` |
| absolute_import | Instance of `__future__._Feature` |
| division | Instance of `__future__._Feature` |
| print_function | Instance of `__future__._Feature` |

<br />