tensorflow::ops::ApplyAdagrad

#include <training_ops.h>

Обновите переменную '*var' в соответствии со схемой adagrad.

Краткое содержание

аккум += град * град вар -= lr * град * (1 / sqrt(аккум))

Аргументы:

  • scope: Объект Scope
  • var: Должно быть из функции Variable().
  • accum: Должно быть из переменной (Variable()).
  • lr: Масштабный коэффициент. Должен быть скалярным значением.
  • grad: Градиент.

Дополнительные атрибуты (см. Attrs ):

  • use_locking: Если True , обновление тензоров var и accum будет защищено блокировкой; в противном случае поведение не определено, но может демонстрировать меньшую конкуренцию.

Возвращает:

  • Output : То же, что и "var".

Конструкторы и Деструкторы

ApplyAdagrad (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input accum, :: tensorflow::Input lr, :: tensorflow::Input grad)
ApplyAdagrad (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input accum, :: tensorflow::Input lr, :: tensorflow::Input grad, const ApplyAdagrad::Attrs & attrs)

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

operation
out

Общественные функции

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Открытые статические функции

UpdateSlots (bool x)
UseLocking (bool x)

Структуры

tensorflow::ops::ApplyAdagrad::Attrs

Дополнительные параметры установки атрибутов для ApplyAdagrad .

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

операция

Operation operation

вне

::tensorflow::Output out

Общественные функции

ApplyAdagrad

 ApplyAdagrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input accum,
  ::tensorflow::Input lr,
  ::tensorflow::Input grad
)

ApplyAdagrad

 ApplyAdagrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input accum,
  ::tensorflow::Input lr,
  ::tensorflow::Input grad,
  const ApplyAdagrad::Attrs & attrs
)

узел

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

Открытые статические функции

UpdateSlots

Attrs UpdateSlots(
  bool x
)

UseLocking

Attrs UseLocking(
  bool x
)