# 初始化器

### 支持的初始化器

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)中找到。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://deeplearning4j.konduit.ai/zhong-wen-v1.0.0/keras-dao-ru/zhi-chi-gong-neng/chu-shi-hua-qi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
