тензорный поток:: опс:: ResourceSparseApplyAdagradDA

#include <training_ops.h>

Обновите записи в '*var' и '*accum' в соответствии с проксимальной адаградной схемой.

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

Аргументы:

  • область: объект области .
  • var: Должно быть из переменной().
  • градиент_аккумулятор: должен быть из переменной().
  • gradient_squared_accumulator: Должно быть из переменной().
  • град: Градиент.
  • индексы: вектор индексов в первом измерении var и accum.
  • lr: Скорость обучения. Должно быть скаляр.
  • l1: регуляризация L1. Должно быть скаляр.
  • l2: регуляризация L2. Должно быть скаляр.
  • global_step: номер шага обучения. Должно быть скаляр.

Необязательные атрибуты (см. Attrs ):

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

Возврат:

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

ResourceSparseApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input indices, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step)
ResourceSparseApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input indices, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step, const ResourceSparseApplyAdagradDA::Attrs & attrs)

Публичные атрибуты

operation

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

operator::tensorflow::Operation () const

Публичные статические функции

UseLocking (bool x)

Структуры

tensorflow::ops::ResourceSparseApplyAdagradDA::Attrs

Необязательные установщики атрибутов для ResourceSparseApplyAdagradDA .

Публичные атрибуты

операция

Operation operation

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

ResourceSparseApplyAdagradDA

 ResourceSparseApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input indices,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step
)

ResourceSparseApplyAdagradDA

 ResourceSparseApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input indices,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step,
  const ResourceSparseApplyAdagradDA::Attrs & attrs
)

оператор::tensorflow::Операция

 operator::tensorflow::Operation() const 

Публичные статические функции

Использование блокировки

Attrs UseLocking(
  bool x
)