Spec-Zone.ru › TensorFlow 1.15

tf.contrib.training.clip_gradient_norms_fn

Возвращает функцию transform_grads_fn для обрезки градиентов.

tf.contrib.training.clip_gradient_norms_fn(
    max_norm
)

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/training/clip_gradient_norms_fn

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API