tf.compat.v1.initializers.lecun_uniform  |  TensorFlow v2.16.1 (original) (raw)

tf.compat.v1.initializers.lecun_uniform

LeCun uniform initializer.

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

Args
seed A Python integer. Used to seed the random generator.
Returns
An initializer.
References
Self-Normalizing Neural Networks,Klambauer et al., 2017 (pdf) Efficient Backprop,Lecun et al., 1998

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.

Last updated 2024-04-26 UTC.