View source on GitHub |
Converts parameters of PWL calibration layer to internal format.
tfl.pwl_calibration_lib.convert_all_constraints(
output_min, output_max, clamp_min, clamp_max
)
Returns | |
---|---|
"value" as float and appropriate value of
tfl.pwl_calibration_lib.BoundConstraintsType enum which corresponds to
output_min(max) and clamp_min(max) .
|