텐서플로우:: 작전:: RandomShuffleQueue:: 속성

#include <data_flow_ops.h>

RandomShuffleQueue 에 대한 선택적 속성 설정자입니다.

요약

공개 속성

capacity_ = -1
int64
container_ = ""
StringPiece
min_after_dequeue_ = 0
int64
seed2_ = 0
int64
seed_ = 0
int64
shapes_ = {}
gtl::ArraySlice< PartialTensorShape >
shared_name_ = ""
StringPiece

공공 기능

Capacity (int64 x)
TF_MUST_USE_RESULT Attrs
이 큐에 있는 요소 수의 상한입니다.
Container (StringPiece x)
TF_MUST_USE_RESULT Attrs
비어 있지 않은 경우 이 큐는 지정된 컨테이너에 배치됩니다.
MinAfterDequeue (int64 x)
TF_MUST_USE_RESULT Attrs
Dequeue 이후에 이렇게 많은 요소가 없거나 큐가 닫히지 않으면 Dequeue는 차단됩니다.
Seed (int64 x)
TF_MUST_USE_RESULT Attrs
Seed 또는 Seed2가 0이 아닌 값으로 설정된 경우 난수 생성기는 지정된 시드에 의해 시드됩니다.
Seed2 (int64 x)
TF_MUST_USE_RESULT Attrs
시드 충돌을 피하기 위한 두 번째 시드입니다.
Shapes (const gtl::ArraySlice< PartialTensorShape > & x)
TF_MUST_USE_RESULT Attrs
값의 각 구성 요소 모양입니다.
SharedName (StringPiece x)
TF_MUST_USE_RESULT Attrs
비어 있지 않은 경우 이 대기열은 여러 세션에서 지정된 이름으로 공유됩니다.

공개 속성

용량_

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

컨테이너_

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

min_after_queue_

int64 tensorflow::ops::RandomShuffleQueue::Attrs::min_after_dequeue_ = 0

씨앗2_

int64 tensorflow::ops::RandomShuffleQueue::Attrs::seed2_ = 0

씨앗_

int64 tensorflow::ops::RandomShuffleQueue::Attrs::seed_ = 0

모양_

gtl::ArraySlice< PartialTensorShape > tensorflow::ops::RandomShuffleQueue::Attrs::shapes_ = {}

공유_이름_

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

공공 기능

용량

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

이 큐에 있는 요소 수의 상한입니다.

음수는 제한이 없음을 의미합니다.

기본값은 -1입니다.

컨테이너

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

비어 있지 않은 경우 이 큐는 지정된 컨테이너에 배치됩니다.

그렇지 않으면 기본 컨테이너가 사용됩니다.

기본값은 ""입니다.

대기열 제거 후 최소

TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomShuffleQueue::Attrs::MinAfterDequeue(
  int64 x
)

Dequeue 이후에 이렇게 많은 요소가 없거나 큐가 닫히지 않으면 Dequeue는 차단됩니다.

이는 요소 혼합의 최소 수준을 보장합니다.

기본값은 0입니다.

씨앗

TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomShuffleQueue::Attrs::Seed(
  int64 x
)

Seed 또는 Seed2가 0이 아닌 값으로 설정된 경우 난수 생성기는 지정된 시드에 의해 시드됩니다.

그렇지 않으면 임의의 시드가 사용됩니다.

기본값은 0입니다.

시드2

TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomShuffleQueue::Attrs::Seed2(
  int64 x
)

시드 충돌을 피하기 위한 두 번째 시드입니다.

기본값은 0입니다.

모양

TF_MUST_USE_RESULT Attrs tensorflow::ops::RandomShuffleQueue::Attrs::Shapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

값의 각 구성 요소 모양입니다.

이 속성의 길이는 0이거나 component_types의 길이와 동일해야 합니다. 이 속성의 길이가 0인 경우 대기열 요소의 모양은 제한되지 않으며 한 번에 하나의 요소만 대기열에서 제거할 수 있습니다.

기본값은 []

공유 이름

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

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

기본값은 ""입니다.