Spec-Zone.ru › TensorFlow C++

tensorflow::ops::AccumulatorApplyGradient

#include <data_flow_ops.h>

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

Краткое описание

Не добавляет, если local_step меньше, чем global_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
)

оператор::tensorflow::Operation

operator::tensorflow::Operation() const 

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

Spec-Zone.ru

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