tf.compat.v1.initializers.lecun_uniform
Инициализатор равномерного распределения LeCun.
tf.compat.v1.initializers.lecun_uniform(
seed=None
)
Он генерирует выборки из равномерного распределения в диапазоне [-limit, limit], где limit — это sqrt(3 / fan_in), где fan_in — количество входных единиц в тензоре весов.
| Аргументы | |
|---|---|
seed | Целое число Python. Используется для начального значения генератора случайных чисел. |
| Возвращает | |
|---|---|
| Инициализатор. |
| Ссылки | |
|---|---|
(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/api_docs/python/tf/compat/v1/initializers/lecun_uniform