Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

Module: tfl.linear_lib

View source on GitHub

Implementation of algorithms required for Linear layer.

Functions

assert_constraints(...): Asserts that weights satisfy constraints.

canonicalize_input_bounds(...): Converts string constant 'none' representing unspecified bound into None.

canonicalize_monotonicities(...): Converts string constants representing monotonicities into integers.

project(...): Applies constraints to weights.

verify_hyperparameters(...): Verifies that all given hyperparameters are consistent.