tensorflow::ops::FIFOQueue

#include <data_flow_ops.h>

คิวที่สร้างองค์ประกอบตามลำดับเข้าก่อนออกก่อน (first-in first-out)

สรุป

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • component_types: ประเภทของแต่ละส่วนประกอบในค่า

คุณลักษณะเสริม (ดูที่ Attrs ):

  • shapes: รูปทรงของแต่ละส่วนประกอบในค่า ความยาวของแอตทริบิวต์นี้ต้องเป็น 0 หรือเท่ากับความยาวของ component_types หากความยาวของแอตทริบิวต์นี้เป็น 0 รูปทรงขององค์ประกอบในคิวจะไม่ถูกจำกัด และสามารถดึงองค์ประกอบออกจากคิวได้ครั้งละหนึ่งรายการเท่านั้น
  • ความจุ: ขีดจำกัดสูงสุดของจำนวนองค์ประกอบในคิวนี้ ตัวเลขติดลบหมายถึงไม่มีขีดจำกัด
  • คอนเทนเนอร์: หากไม่ว่างเปล่า คิวนี้จะถูกจัดวางไว้ในคอนเทนเนอร์ที่กำหนด มิเช่นนั้น จะใช้คอนเทนเนอร์เริ่มต้น
  • shared_name: หากไม่ว่างเปล่า คิวนี้จะถูกใช้ร่วมกันภายใต้ชื่อที่กำหนดโดยหลายเซสชัน

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

  • Output : ตัวจัดการคิว

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

FIFOQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types)
FIFOQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types, const FIFOQueue::Attrs & attrs)

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

handle
operation

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

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

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

Capacity (int64 x)
Container (StringPiece x)
Shapes (const gtl::ArraySlice< PartialTensorShape > & x)
SharedName (StringPiece x)

โครงสร้าง

tensorflow:: ops:: FIFOQueue:: Attrs

ตัวเลือกในการตั้งค่าแอตทริบิวต์สำหรับ FIFOQueue

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

รับมือ

::tensorflow::Output handle

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

Operation operation

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

คิว FIFO

 FIFOQueue(
  const ::tensorflow::Scope & scope,
  const DataTypeSlice & component_types
)

คิว FIFO

 FIFOQueue(
  const ::tensorflow::Scope & scope,
  const DataTypeSlice & component_types,
  const FIFOQueue::Attrs & attrs
)

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

ความจุ

Attrs Capacity(
  int64 x
)

คอนเทนเนอร์

Attrs Container(
  StringPiece x
)

รูปทรง

Attrs Shapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

ชื่อที่ใช้ร่วมกัน

Attrs SharedName(
  StringPiece x
)