tensorflow::ops::ResourceApplyProximalGradientDescent

#include <training_ops.h>

Обновите '*var', заменив его на алгоритм FOBOS с фиксированной скоростью обучения.

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

prox_v = var - alpha * delta var = sign(prox_v)/(1+alpha*l2) * max{|prox_v|-alpha*l1,0}

Аргументы:

  • scope: Объект Scope
  • var: Должно быть из функции Variable().
  • альфа: Масштабный коэффициент. Должен быть скалярным значением.
  • l1: L1-регуляризация. Должна быть скалярной величиной.
  • l2: L2-регуляризация. Должна быть скалярной величиной.
  • дельта: Изменение.

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

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

Возвращает:

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

ResourceApplyProximalGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input delta)
ResourceApplyProximalGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input delta, const ResourceApplyProximalGradientDescent::Attrs & attrs)

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

operation

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

operator::tensorflow::Operation () const

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

UseLocking (bool x)

Структуры

tensorflow::ops::ResourceApplyProximalGradientDescent::Attrs

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

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

операция

Operation operation

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

ResourceApplyProximalGradientDescent

 ResourceApplyProximalGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input delta
)

ResourceApplyProximalGradientDescent

 ResourceApplyProximalGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input delta,
  const ResourceApplyProximalGradientDescent::Attrs & attrs
)

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

 operator::tensorflow::Operation() const 

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

UseLocking

Attrs UseLocking(
  bool x
)