Module: tfl.kronecker_factored_lattice_layer

Kronecker-Factored Lattice layer with monotonicity constraints.

Keras implementation of tensorflow Kronecker-Factored Lattice layer. This layer takes one or more d-dimensional input(s) and combines them using a Kronecker-Factored Lattice function, satisfying monotonicity constraints if specified.

Classes

class KroneckerFactoredLatticeConstraints: Constraints for tfl.layers.KroneckerFactoredLattice layer.

class RandomMonotonicInitializer: Initializes a tfl.layers.KroneckerFactoredLattice as random monotonic.

class ScaleInitializer: Initializes scale to alternate between 1 and -1 for each term.

Functions

create_kernel_initializer(...): Returns a kernel Keras initializer object from its id.

KFL_BIAS_NAME 'kronecker_factored_lattice_bias'
KFL_KERNEL_NAME 'kronecker_factored_lattice_kernel'
KFL_SCALE_NAME 'kronecker_factored_lattice_scale'