LeCun normal initializer.
tf.compat.v1.initializers.lecun_normal(
seed=None
)
It draws samples from a truncated normal distribution centered on 0 with standard deviation (after truncation) given by stddev = sqrt(1 / 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. |
(pdf)
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/compat/v1/initializers/lecun_normal