Module: tfl.pwl_calibration_layer
Stay organized with collections
Save and categorize content based on your preferences.
Piecewise linear calibration layer.
Keras implementation of tensorflow lattice pwl calibration layer. Layer takes
single or multi-dimensional input and transforms it using piecewise linear
functions following monotonicity, convexity/concavity and bounds constraints if
specified.
Classes
class HessianRegularizer
: Hessian regularizer for PWL calibration layer.
class LaplacianRegularizer
: Laplacian regularizer for PWL calibration layer.
class NaiveBoundsConstraints
: Naively clips all elements of tensor to be within bounds.
class PWLCalibrationConstraints
: Monotonicity and bounds constraints for PWL calibration layer.
class UniformOutputInitializer
: Initializes PWL calibration layer to represent linear function.
class WrinkleRegularizer
: Wrinkle regularizer for PWL calibration layer.
Other Members |
INTERPOLATION_KEYPOINTS_NAME
|
'interpolation_keypoints'
|
INTERPOLATION_LOGITS_NAME
|
'interpolation_logits'
|
LENGTHS_NAME
|
'lengths'
|
MISSING_INPUT_VALUE_NAME
|
'missing_input_value'
|
PWL_CALIBRATION_KERNEL_NAME
|
'pwl_calibration_kernel'
|
PWL_CALIBRATION_MISSING_OUTPUT_NAME
|
'pwl_calibration_missing_output'
|
absolute_import
|
Instance of __future__._Feature
|
division
|
Instance of __future__._Feature
|
print_function
|
Instance of __future__._Feature
|
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.
[[["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."],[],[]]