ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.keras.initializers.lecun_normal

View source on GitHub

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.

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

An initializer.

References: