tensorflow::ops::SparseSegmentMeanGrad

#include <math_ops.h>

คำนวณค่าเกรเดียนต์สำหรับ SparseSegmentMean

สรุป

ส่งคืนเทนเซอร์ "output" ที่มีรูปร่างเหมือนกับ grad ยกเว้นมิติที่ 0 ซึ่งมีค่าเป็น output_dim0

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • grad: ค่าความชันที่ส่งต่อไปยังตัวดำเนินการ SparseSegmentMean
  • ดัชนี: ดัชนีที่ส่งไปยังตัวดำเนินการ SparseSegmentMean ที่เกี่ยวข้อง
  • segment_ids: segment_ids ที่ส่งไปยังโอเปอเรเตอร์ SparseSegmentMean ที่เกี่ยวข้อง
  • output_dim0: มิติที่ 0 ของ "ข้อมูล" ที่ส่งไปยังโอเปอเรเตอร์ SparseSegmentMean

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

  • Output : เทนเซอร์เอาต์พุต

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

SparseSegmentMeanGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input grad, :: tensorflow::Input indices, :: tensorflow::Input segment_ids, :: tensorflow::Input output_dim0)

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

operation
output

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

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

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

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

Operation operation

เอาต์พุต

::tensorflow::Output output

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

SparseSegmentMeanGrad

 SparseSegmentMeanGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input grad,
  ::tensorflow::Input indices,
  ::tensorflow::Input segment_ids,
  ::tensorflow::Input output_dim0
)

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const