# tf.keras.initializers.lecun_uniform

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.1.0/tensorflow/python/ops/init_ops_v2.py#L645-L666) |

LeCun uniform initializer.

#### View aliases


**Main aliases**

[`tf.initializers.lecun_uniform`](https://www.tensorflow.org/api_docs/python/tf/keras/initializers/LecunUniform)

<br />

    tf.keras.initializers.lecun_uniform(
        seed=None
    )

It draws samples from a uniform distribution within \[-limit, limit\]
where `limit` is `sqrt(3 / 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:

- Self-Normalizing Neural Networks, [Klambauer et al., 2017](https://papers.nips.cc/paper/6698-self-normalizing-neural-networks) ([pdf](https://papers.nips.cc/paper/6698-self-normalizing-neural-networks.pdf))
- Efficient Backprop, [Lecun et al., 1998](http://yann.lecun.com/exdb/publis/pdf/lecun-98b.pdf)