tensorflow:: ops:: PriorityQueue:: Attrs

#include <data_flow_ops.h>

أدوات تعيين السمات الاختيارية لـ PriorityQueue .

ملخص

السمات العامة

capacity_ = -1
int64
component_types_ = {}
DataTypeSlice
container_ = ""
StringPiece
shared_name_ = ""
StringPiece

الوظائف العامة

Capacity (int64 x)
TF_MUST_USE_RESULT Attrs
الحد الأعلى لعدد العناصر في هذا الطابور.
ComponentTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
نوع كل مكون في القيمة.
Container (StringPiece x)
TF_MUST_USE_RESULT Attrs
إذا لم يكن هذا الطابور فارغًا، فسيتم وضعه في الحاوية المحددة.
SharedName (StringPiece x)
TF_MUST_USE_RESULT Attrs
إذا لم يكن هذا الطابور فارغًا، فسيتم مشاركته تحت الاسم المحدد عبر جلسات متعددة.

السمات العامة

سعة_

int64 tensorflow::ops::PriorityQueue::Attrs::capacity_ = -1

أنواع_المكونات

DataTypeSlice tensorflow::ops::PriorityQueue::Attrs::component_types_ = {}

حاوية_

StringPiece tensorflow::ops::PriorityQueue::Attrs::container_ = ""

shared_name_

StringPiece tensorflow::ops::PriorityQueue::Attrs::shared_name_ = ""

الوظائف العامة

سعة

TF_MUST_USE_RESULT Attrs tensorflow::ops::PriorityQueue::Attrs::Capacity(
  int64 x
)

الحد الأعلى لعدد العناصر في هذا الطابور.

الأرقام السالبة تعني عدم وجود حد.

القيمة الافتراضية هي -1

أنواع المكونات

TF_MUST_USE_RESULT Attrs tensorflow::ops::PriorityQueue::Attrs::ComponentTypes(
  const DataTypeSlice & x
)

نوع كل مكون في القيمة.

القيمة الافتراضية هي []

حاوية

TF_MUST_USE_RESULT Attrs tensorflow::ops::PriorityQueue::Attrs::Container(
  StringPiece x
)

إذا لم يكن هذا الطابور فارغًا، فسيتم وضعه في الحاوية المحددة.

وإلا، فسيتم استخدام حاوية افتراضية.

القيمة الافتراضية هي ""

الاسم المشترك

TF_MUST_USE_RESULT Attrs tensorflow::ops::PriorityQueue::Attrs::SharedName(
  StringPiece x
)

إذا لم يكن هذا الطابور فارغًا، فسيتم مشاركته تحت الاسم المحدد عبر جلسات متعددة.

القيمة الافتراضية هي ""