Attend the Women in ML Symposium on December 7 Register now

tfl.pwl_calibration_lib.verify_hyperparameters

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

Verifies that all given hyperparameters are consistent.

See PWLCalibration class level comment for detailed description of arguments.

input_keypoints input_keypoints of PWLCalibration layer.
output_min Smallest output of PWLCalibration layer.
output_max Largest output of PWLCalibration layer.
monotonicity monotonicity hyperparameter of PWLCalibration layer.
convexity convexity hyperparameter of PWLCalibration layer.
is_cyclic is_cyclic hyperparameter of PWLCalibration layer.
lengths Lengths of pieces of piecewise linear function.
weights_shape Shape of weights of PWLCalibration layer.
input_keypoints_type The type of input keypoints of a PWLCalibration layer.

ValueError If something is inconsistent.