tfl.pwl_calibration_layer.NaiveBoundsConstraints

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

Naively clips all elements of tensor to be within bounds.

This constraint is used only for the weight tensor for missing output value.

lower_bound Lower bound to clip variable values to.
upper_bound Upper bound to clip variable values to.

Methods

get_config

View source

Standard Keras config for serialization.

__call__

View source

Applies constraints to w.