tensorflow:: عملیات:: ResourceApplyProximalGradientDescent

#include <training_ops.h>

به‌روزرسانی «*var» به عنوان الگوریتم FOBOS با نرخ یادگیری ثابت.

خلاصه

prox_v = متغیر - آلفا * دلتا متغیر = علامت(prox_v)/(1+alpha*l2) * حداکثر{|prox_v|-alpha*l1,0}

استدلال‌ها:

  • دامنه: یک شیء دامنه
  • var: باید از یک متغیر () باشد.
  • آلفا: ضریب مقیاس‌بندی. باید یک اسکالر باشد.
  • 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:: عملیات:: ResourceApplyProximalGradientDescent:: جذابیت‌ها

تنظیم‌کننده‌های ویژگی اختیاری برای 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::عملیات

 operator::tensorflow::Operation() const 

توابع استاتیک عمومی

استفاده از قفل

Attrs UseLocking(
  bool x
)