tfl.pwl_calibration_lib.convert_all_constraints

Converts parameters of PWL calibration layer to internal format.

output_min None for unconstrained bound or some numeric value.
output_max None for unconstrained bound or some numeric value.
clamp_min Whether to clamp pwl calibrator to value if output_min is not None.
clamp_max Whether to clamp pwl calibrator to value if output_max is not None.

"value" as float and appropriate value of tfl.pwl_calibration_lib.BoundConstraintsType enum which corresponds to output_min(max) and clamp_min(max).