Spec-Zone.ru › TensorFlow C++ 2.4

tensorflow::ops::AccumulatorApplyGradient

#include <data_flow_ops.h>

Применяет градиент к заданному аккумулятору.

Summary

Не добавляет, если local_step меньше глобального шага аккумулятора.

Аргументы:

  • scope: Объект Scope
  • handle: Дескриптор аккумулятора.
  • local_step: Значение local_step, при котором был вычислен градиент.
  • gradient: Тензор градиента, подлежащий накоплению.

Возвращает:

  • созданный Operation
Конструкторы и деструкторы
AccumulatorApplyGradient(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input local_step, ::tensorflow::Input gradient)
Общедоступные атрибуты
operation
Operation
Общедоступные функции
operator::tensorflow::Operation() const

Общедоступные атрибуты

operation

Operation operation

Общедоступные функции

AccumulatorApplyGradient

 AccumulatorApplyGradient(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input local_step,
  ::tensorflow::Input gradient
)

operator::tensorflow::Operation

operator::tensorflow::Operation() const 

© 2020 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.4/api_docs/cc/class/tensorflow/ops/accumulator-apply-gradient

Spec-Zone.ru

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