เทนเซอร์โฟลว์:: ปฏิบัติการ:: RandomShuffleQueue

#include <data_flow_ops.h>

คิวที่สุ่มลำดับขององค์ประกอบ

สรุป

ข้อโต้แย้ง:

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

แอ็ตทริบิวต์ทางเลือก (ดู Attrs ):

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

ผลตอบแทน:

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

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

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

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

handle
operation

งานสาธารณะ

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

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

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

โครงสร้าง

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

ตัวตั้งค่าคุณลักษณะเพิ่มเติมสำหรับ RandomShuffleQueue

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

รับมือ

::tensorflow::Output handle

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

Operation operation

งานสาธารณะ

RandomShuffleQueue

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

RandomShuffleQueue

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

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::tensorflow::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::tensorflow::เอาต์พุต

 operator::tensorflow::Output() const 

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

ความจุ

Attrs Capacity(
  int64 x
)

คอนเทนเนอร์

Attrs Container(
  StringPiece x
)

MinAfterDequeue

Attrs MinAfterDequeue(
  int64 x
)

เมล็ดพันธุ์

Attrs Seed(
  int64 x
)

เมล็ดพันธุ์2

Attrs Seed2(
  int64 x
)

รูปร่าง

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

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

Attrs SharedName(
  StringPiece x
)