เทนเซอร์โฟลว์:: ปฏิบัติการ:: ResourceApplyAdagradDA

#include <training_ops.h>

อัปเดต '*var' ตามรูปแบบ adagrad ที่ใกล้เคียง

สรุป

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • var: ควรมาจากตัวแปร ()
  • gradient_accumulator: ควรมาจากตัวแปร ()
  • gradient_squared_accumulator: ควรมาจากตัวแปร ()
  • ผู้สำเร็จการศึกษา: การไล่ระดับสี
  • lr: ปัจจัยการปรับขนาด ต้องเป็นสเกลาร์
  • l1: การทำให้เป็นมาตรฐาน L1 ต้องเป็นสเกลาร์
  • l2: การทำให้เป็นมาตรฐาน L2 ต้องเป็นสเกลาร์
  • global_step: หมายเลขขั้นตอนการฝึกอบรม ต้องเป็นสเกลาร์

แอ็ตทริบิวต์ทางเลือก (ดู Attrs ):

  • use_locking: หากเป็น True การอัปเดต var และ accum tensor จะได้รับการปกป้องด้วยการล็อค มิฉะนั้นพฤติกรรมจะไม่ได้กำหนดไว้ แต่อาจแสดงความขัดแย้งน้อยลง

ผลตอบแทน:

  • Operation ที่สร้างขึ้น

ตัวสร้างและผู้ทำลาย

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

คุณลักษณะสาธารณะ

operation

งานสาธารณะ

operator::tensorflow::Operation () const

ฟังก์ชันคงที่สาธารณะ

UseLocking (bool x)

โครงสร้าง

เทนเซอร์โฟลว์ :: ops :: ResourceApplyAdagradDA :: Attrs

ตัวตั้งค่าแอ็ตทริบิวต์เผื่อเลือกสำหรับ ResourceApplyAdagradDA

คุณลักษณะสาธารณะ

การดำเนินการ

Operation operation

งานสาธารณะ

ResourceApplyAdagradDA

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

ResourceApplyAdagradDA

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

ตัวดำเนินการ::เทนเซอร์โฟลว์::การทำงาน

 operator::tensorflow::Operation() const 

ฟังก์ชันคงที่สาธารณะ

ใช้ล็อค

Attrs UseLocking(
  bool x
)