> For the complete documentation index, see [llms.txt](https://deeplearning4j.konduit.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://deeplearning4j.konduit.ai/zhong-wen-v1.0.0/keras-dao-ru/zhi-chi-gong-neng/yue-shu.md).

# 约束

所有的 [Keras 约束](https://keras.io/constraints) 都被支持:

* max\_norm
* non\_neg
* unit\_norm
* min\_max\_norm

在 [KerasConstraintUtils](https://github.com/deeplearning4j/deeplearning4j/blob/master/deeplearning4j/deeplearning4j-modelimport/src/main/java/org/deeplearning4j/nn/modelimport/keras/utils/KerasConstraintUtils.java)中实现Keras 到 DL4J 约束映射。
