Module: tfl.lattice_layer

Stay organized with collections Save and categorize content based on your preferences.

Lattice layer with monotonicity, unimodality, trust and bound constraints.

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

Classes

class LaplacianRegularizer: Laplacian regularizer for tfl.layers.Lattice layer.

class LatticeConstraints: Constraints for tfl.layers.Lattice layer.

class LinearInitializer: Initializes a tfl.layers.Lattice as linear function.

class RandomMonotonicInitializer: Initializes a tfl.layers.Lattice as uniform random monotonic function.

class TorsionRegularizer: Torsion regularizer for tfl.layers.Lattice layer.

Functions

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

LATTICE_KERNEL_NAME 'lattice_kernel'
LATTICE_SIZES_NAME 'lattice_sizes'
absolute_import Instance of __future__._Feature
division Instance of __future__._Feature
print_function Instance of __future__._Feature