# Module: tf.keras.constraints

<br />

DO NOT EDIT.

This file was autogenerated. Do not edit it by hand,
since your modifications would be overwritten.

## Classes

[`class Constraint`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/Constraint): Base class for weight constraints.

[`class MaxNorm`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/MaxNorm): MaxNorm weight constraint.

[`class MinMaxNorm`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/MinMaxNorm): MinMaxNorm weight constraint.

[`class NonNeg`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/NonNeg): Constrains the weights to be non-negative.

[`class UnitNorm`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/UnitNorm): Constrains the weights incident to each hidden unit to have unit norm.

[`class max_norm`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/MaxNorm): MaxNorm weight constraint.

[`class min_max_norm`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/MinMaxNorm): MinMaxNorm weight constraint.

[`class non_neg`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/NonNeg): Constrains the weights to be non-negative.

[`class unit_norm`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/UnitNorm): Constrains the weights incident to each hidden unit to have unit norm.

## Functions

[`deserialize(...)`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/deserialize): Return a Keras constraint object via its config.

[`get(...)`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/get): Retrieve a Keras constraint object via an identifier.

[`serialize(...)`](https://www.tensorflow.org/api_docs/python/tf/keras/constraints/serialize)