tensorflow::ops::AccumulatorApplyGradient

#include <data_flow_ops.h>

ใช้ค่าความชันกับตัวสะสมที่กำหนด

สรุป

จะไม่ทำการบวกหากค่า local_step น้อยกว่าค่า global_step ของตัวสะสม

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • ด้ามจับ: ด้ามจับของตัวสะสมพลังงาน
  • local_step: ค่า local_step ที่ใช้ในการคำนวณเกรเดียนต์
  • gradient: เทนเซอร์ของ gradient ที่จะนำมาสะสม

การส่งคืนสินค้า:

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

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

AccumulatorApplyGradient (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input local_step, :: tensorflow::Input gradient)

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

operation

หน้าที่สาธารณะ

operator::tensorflow::Operation () const

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

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

Operation operation

หน้าที่สาธารณะ

ตัวสะสมประยุกต์ใช้เกรเดียนต์

 AccumulatorApplyGradient(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input local_step,
  ::tensorflow::Input gradient
)

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

 operator::tensorflow::Operation() const