W3cubDocs

/TensorFlow Python

tf.keras.initializers.lecun_normal

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

Defined in tensorflow/python/keras/_impl/keras/initializers.py.

LeCun normal initializer.

It draws samples from a truncated normal distribution centered on 0 with stddev = sqrt(1 / fan_in) where fan_in is the number of input units in the weight tensor.

Arguments:

  • seed: A Python integer. Used to seed the random generator.

Returns:

An initializer.

References: - Self-Normalizing Neural Networks - Efficient Backprop

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/keras/initializers/lecun_normal