Missed TensorFlow World? Check out the recap. Learn more

tf.compat.v2.keras.initializers.lecun_uniform

View source on GitHub

LeCun uniform initializer.

Aliases:

tf.compat.v2.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.

Arguments:

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

Returns:

An initializer.

References: