tfl.linear_lib.canonicalize_input_bounds

View source on GitHub

Converts string constant 'none' representing unspecified bound into None.

input_bounds input_min or input_max hyperparameter of Linear layer.

ValueError if one of elements in input_bounds is invalid.

input_bounds represented as float or None.