# tf.compat.v2.keras.initializers.he_uniform

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/init_ops_v2.py#L702-L720) |

He uniform variance scaling initializer.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

\`tf.compat.v2.initializers.he_uniform\`

<br />

    tf.compat.v2.keras.initializers.he_uniform(
        seed=None
    )

It draws samples from a uniform distribution within \[-limit, limit\]
where `limit` is `sqrt(6 / fan_in)`
where `fan_in` is the number of input units in the weight tensor.

<br />

<br />

<br />

| ## Arguments ||
|---|---|
| `seed` | A Python integer. Used to seed the random generator. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| An initializer. ||

<br />

#### References:

[He et al., 2015](https://www.cv-foundation.org/openaccess/content_iccv_2015/html/He_Delving_Deep_into_ICCV_2015_paper.html)
([pdf](https://www.cv-foundation.org/openaccess/content_iccv_2015/papers/He_Delving_Deep_into_ICCV_2015_paper.pdf))