Module: tfl.linear_layer
Stay organized with collections
Save and categorize content based on your preferences.
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
: Applies monotonicity constraints and normalization to TFL Linear layer.
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
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-02 UTC.
[null,null,["Last updated 2024-08-02 UTC."],[],[],null,["# Module: tfl.linear_layer\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/lattice/blob/v2.1.1/tensorflow_lattice/python/linear_layer.py) |\n\nLayer which represents linear function. See class level comment.\n\nThis layer applies a linear transformation to the input tensor with an optional\nbias term. It supports monotonicity, monotonic dominance and fixed-norm\nconstraints.\n\nClasses\n-------\n\n[`class LinearConstraints`](../tfl/linear_layer/LinearConstraints): Applies monotonicity constraints and normalization to TFL Linear layer.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Other Members ------------- ||\n|--------------------------|-----------------------------------|\n| LINEAR_LAYER_BIAS_NAME | `'linear_layer_bias'` |\n| LINEAR_LAYER_KERNEL_NAME | `'linear_layer_kernel'` |\n| absolute_import | Instance of `__future__._Feature` |\n| division | Instance of `__future__._Feature` |\n| print_function | Instance of `__future__._Feature` |\n\n\u003cbr /\u003e"]]