Module: tfl.linear_layer

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'