dòng chảy căng:: ôi:: BarrierTakeMany:: Attr

#include <data_flow_ops.h>

Trình thiết lập thuộc tính tùy chọn cho BarrierTakeMany .

Bản tóm tắt

Thuộc tính công khai

allow_small_batch_ = false
bool
timeout_ms_ = -1
int64
wait_for_incomplete_ = false
bool

Chức năng công cộng

AllowSmallBatch (bool x)
TF_MUST_USE_RESULT Attrs
Cho phép trả lại ít hơn num_elements mục nếu rào cản đã được đóng.
TimeoutMs (int64 x)
TF_MUST_USE_RESULT Attrs
Nếu hàng đợi trống, thao tác này sẽ chặn tối đa timeout_ms mili giây.
WaitForIncomplete (bool x)
TF_MUST_USE_RESULT Attrs
Mặc định là sai.

Thuộc tính công khai

allow_small_batch_

bool tensorflow::ops::BarrierTakeMany::Attrs::allow_small_batch_ = false

hết thời gian chờ_ms_

int64 tensorflow::ops::BarrierTakeMany::Attrs::timeout_ms_ = -1

chờ_cho_chưa hoàn thành_

bool tensorflow::ops::BarrierTakeMany::Attrs::wait_for_incomplete_ = false

Chức năng công cộng

Cho phép lô nhỏ

TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::AllowSmallBatch(
  bool x
)

Cho phép trả lại ít hơn num_elements mục nếu rào cản đã được đóng.

Mặc định là sai

Hết thời gianMs

TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::TimeoutMs(
  int64 x
)

Nếu hàng đợi trống, thao tác này sẽ chặn tối đa timeout_ms mili giây.

Lưu ý: Tùy chọn này chưa được hỗ trợ.

Mặc định là -1

ĐợiChưa Hoàn Thành

TF_MUST_USE_RESULT Attrs tensorflow::ops::BarrierTakeMany::Attrs::WaitForIncomplete(
  bool x
)

Mặc định là sai.