جریان تنسور:: عملیات:: ResourceApplyGradientDescent

#include <training_ops.h>

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

خلاصه

استدلال ها:

  • scope: یک شی Scope
  • var: باید از یک متغیر () باشد.
  • آلفا: ضریب مقیاس. باید اسکالر باشد.
  • دلتا: تغییر.

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

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

برمی گرداند:

سازندگان و تخریب کنندگان

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

صفات عمومی

operation

توابع عمومی

operator::tensorflow::Operation () const

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

UseLocking (bool x)

سازه ها

tensorflow:: ops:: ResourceApplyGradientDescent:: Attrs

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

صفات عمومی

عمل

Operation operation

توابع عمومی

ResourceApplyGradientDescent

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

ResourceApplyGradientDescent

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

عملگر::tensorflow::عملیات

 operator::tensorflow::Operation() const 

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

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

Attrs UseLocking(
  bool x
)