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.
tfl.pwl_calibration_lib.verify_hyperparameters(
input_keypoints=None,
output_min=None,
output_max=None,
monotonicity=None,
convexity=None,
is_cyclic=False,
lengths=None,
weights_shape=None,
input_keypoints_type=None
)
See PWLCalibration class level comment for detailed description of arguments.
Args |
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.
|
Raises |
ValueError
|
If something is inconsistent.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-08-02 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-02 UTC."],[],[]]