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

#include <array_ops.h>

อัปเดตแถวที่ระบุด้วยค่าใน v

สรุป

คำนวณ x[i, :] = v; return x

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • x: เทนเซอร์ชนิด T
  • i: เวกเตอร์ ดัชนีที่ชี้ไปยังมิติซ้ายสุดของ x
  • v: Tensor ชนิด T มีขนาดมิติเท่ากับ x ยกเว้นมิติแรกซึ่งต้องมีขนาดเท่ากับ i

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

  • Output : Tensor ชนิด T ชื่อเรียกแทนของ x เนื้อหาของ y จะไม่ถูกกำหนดหากมีค่าซ้ำกันใน i

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

InplaceUpdate (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input i, :: tensorflow::Input v)

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

operation
y

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

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

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

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

Operation operation

y

::tensorflow::Output y

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

อัปเดตทันที

 InplaceUpdate(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input i,
  ::tensorflow::Input v
)

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const