O Google I / O retorna de 18 a 20 de maio! Reserve espaço e monte sua agenda Cadastre-se agora

tfl.pwl_calibration_lib.verify_hyperparameters

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.

ValueError If something is inconsistent.