O Google I / O retorna de 18 a 20 de maio! Reserve espaço e monte sua agenda Cadastre-se agora

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.


class LinearConstraints: Applies monotonicity constraints and normalization to TFL Linear layer.

LINEAR_LAYER_BIAS_NAME 'linear_layer_bias'
LINEAR_LAYER_KERNEL_NAME 'linear_layer_kernel'