tensorflow::ops::RefSelect

#include <control_flow_ops.h>

ส่งต่อองค์ประกอบ index ที่ th ของ inputs ไปยัง output

สรุป

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • ดัชนี: ค่าสเกลาร์ที่ใช้กำหนดอินพุตที่จะถูกเลือก
  • อินพุต: รายชื่อเทนเซอร์อ้างอิง ซึ่งหนึ่งในนั้นจะถูกส่งต่อไปยัง output

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

  • Output : เทนเซอร์ที่ส่งต่อ

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

RefSelect (const :: tensorflow::Scope & scope, :: tensorflow::Input index, :: tensorflow::InputList inputs)

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

operation
output

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

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

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

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

Operation operation

เอาต์พุต

::tensorflow::Output output

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

เรฟซีเล็ค

 RefSelect(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input index,
  ::tensorflow::InputList inputs
)

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const