# 初始化器

### 支持的初始化器

DL4J 支持所有可用的 [Keras 初始化器](https://keras.io/initializers), 名称为:

* &#x20;Zeros
* &#x20;Ones
* &#x20;Constant
* &#x20;RandomNormal
* &#x20;RandomUniform
* &#x20;TruncatedNormal
* &#x20;VarianceScaling
* &#x20;Orthogonal
* &#x20;Identity
* &#x20;lecun\_uniform
* &#x20;lecun\_normal
* &#x20;glorot\_normal
* &#x20;glorot\_uniform
* &#x20;he\_normal
* &#x20;he\_uniform

从Keras 到 DL4J的初始化器映射可以从 [KerasInitilizationUtils](https://github.com/deeplearning4j/deeplearning4j/blob/master/deeplearning4j/deeplearning4j-modelimport/src/main/java/org/deeplearning4j/nn/modelimport/keras/utils/KerasInitilizationUtils.java)中找到。
