텐서플로우::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_ = ""

공유 이름_

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
)

비어 있지 않은 경우, 이 큐는 지정된 이름으로 여러 세션에서 공유됩니다.

기본값은 ""입니다.