텐서플로우:: ops:: RandomShuffleQueue:: Attrs

#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) 작업은 디큐 후 남은 요소 수가 이 개수에 도달하거나 큐가 닫히지 않는 한 차단됩니다.
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_ = ""

디큐 후 최소 시간

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
)

큐가 비어 있지 않으면 지정된 컨테이너에 배치됩니다.

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

기본값은 ""입니다.

MinAfterDequeue

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

디큐(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
)

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

기본값은 ""입니다.