tensorflow::ops::BarrierTakeMany::Attrs
#include <data_flow_ops.h>ตัวเลือกในการตั้งค่าแอตทริบิวต์สำหรับ BarrierTakeMany
สรุป
คุณลักษณะสาธารณะ | |
|---|---|
allow_small_batch_ = false | bool |
timeout_ms_ = -1 | int64 |
wait_for_incomplete_ = false | bool |
หน้าที่สาธารณะ | |
|---|---|
AllowSmallBatch (bool x) | TF_MUST_USE_RESULT Attrs อนุญาตให้ส่งคืนรายการที่มีจำนวนน้อยกว่า num_elements หากตัวกั้นถูกปิดไปแล้ว |
TimeoutMs (int64 x) | TF_MUST_USE_RESULT Attrs หากคิวว่างเปล่า การดำเนินการนี้จะหยุดชั่วคราวเป็นเวลาสูงสุด timeout_ms มิลลิวินาที |
WaitForIncomplete (bool x) | TF_MUST_USE_RESULT Attrs ค่าเริ่มต้นคือ false |
คุณลักษณะสาธารณะ
อนุญาตชุดเล็ก
bool tensorflow::ops::BarrierTakeMany::Attrs::allow_small_batch_ = false
หมดเวลา_มิลลิวินาที_
int64 tensorflow::ops::BarrierTakeMany::Attrs::timeout_ms_ = -1
รอจนกว่าจะไม่สมบูรณ์
bool tensorflow::ops::BarrierTakeMany::Attrs::wait_for_incomplete_ = false
หน้าที่สาธารณะ
อนุญาตให้ผลิตในปริมาณน้อย
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::AllowSmallBatch( bool x )
อนุญาตให้ส่งคืนรายการที่มีจำนวนน้อยกว่า num_elements หากตัวกั้นถูกปิดไปแล้ว
ค่าเริ่มต้นคือเท็จ
หมดเวลา (มิลลิวินาที)
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::TimeoutMs( int64 x )
หากคิวว่างเปล่า การดำเนินการนี้จะหยุดชั่วคราวเป็นเวลาสูงสุด timeout_ms มิลลิวินาที
หมายเหตุ: ตัวเลือกนี้ยังไม่ได้รับการสนับสนุนในขณะนี้
ค่าเริ่มต้นคือ -1
รอสำหรับไม่สมบูรณ์
TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::WaitForIncomplete( bool x )
ค่าเริ่มต้นคือ false