tensorflow:: عملیات:: اعمال گرادیان نزولی

#include <training_ops.h>

با کم کردن 'alpha' * 'delta' از '*var'، آن را به‌روزرسانی کن.

خلاصه

استدلال‌ها:

  • دامنه: یک شیء دامنه
  • var: باید از یک متغیر () باشد.
  • آلفا: ضریب مقیاس‌بندی. باید یک اسکالر باشد.
  • دلتا: تغییر.

ویژگی‌های اختیاری (به Attrs مراجعه کنید):

  • use_locking: اگر True ، تفریق توسط یک قفل محافظت می‌شود؛ در غیر این صورت رفتار تعریف نشده است، اما ممکن است رقابت کمتری را نشان دهد.

بازده:

  • Output : مشابه "var" است.

سازنده‌ها و مخرب‌ها

ApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta)
ApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta, const ApplyGradientDescent::Attrs & attrs)

ویژگی‌های عمومی

operation
out

کارکردهای عمومی

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

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

UseLocking (bool x)

ساختارها

tensorflow:: عملیات:: اعمالGradientDescent:: جذابیت‌ها

تنظیم‌کننده‌های ویژگی اختیاری برای ApplyGradientDescent .

ویژگی‌های عمومی

عملیات

Operation operation

بیرون

::tensorflow::Output out

کارکردهای عمومی

اعمال گرادیان نزولی

 ApplyGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input delta
)

اعمال گرادیان نزولی

 ApplyGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input delta,
  const ApplyGradientDescent::Attrs & attrs
)

گره

::tensorflow::Node * node() const 

عملگر::tensorflow::ورودی

 operator::tensorflow::Input() const 

عملگر::tensorflow::خروجی

 operator::tensorflow::Output() const 

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

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

Attrs UseLocking(
  bool x
)