텐서플로우::ops::RandomShuffleQueue
#include <data_flow_ops.h>요소의 순서를 무작위로 지정하는 큐.
요약
논거:
- 범위: Scope 객체
- component_types: 값에 포함된 각 구성 요소의 유형입니다.
선택적 속성( Attrs 참조):
- shapes: 값의 각 구성 요소의 모양입니다. 이 속성의 길이는 0이거나 component_types의 길이와 같아야 합니다. 이 속성의 길이가 0이면 큐 요소의 모양에 제약이 없으며 한 번에 하나의 요소만 꺼낼 수 있습니다.
- 용량: 이 큐에 저장될 수 있는 요소 수의 상한입니다. 음수는 제한이 없음을 의미합니다.
- min_after_dequeue: 디큐 후 남은 요소의 개수가 이 값 이상이거나 큐가 닫히지 않으면 디큐 작업이 차단됩니다. 이는 요소들이 섞이는 것을 최소화합니다.
- seed: seed 또는 seed2 중 하나라도 0이 아닌 값으로 설정되면, 지정된 시드를 사용하여 난수 생성기를 초기화합니다. 그렇지 않으면 임의의 시드를 사용합니다.
- seed2: 시드 충돌을 방지하기 위한 두 번째 시드입니다.
- 컨테이너: 비어 있지 않으면 이 큐는 지정된 컨테이너에 배치됩니다. 그렇지 않으면 기본 컨테이너가 사용됩니다.
- shared_name: 비어 있지 않은 경우, 이 큐는 지정된 이름으로 여러 세션에서 공유됩니다.
보고:
-
Output: 큐 핸들.
생성자와 소멸자 | |
|---|---|
RandomShuffleQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types) | |
RandomShuffleQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types, const RandomShuffleQueue::Attrs & attrs) |
공개 속성 | |
|---|---|
handle | |
operation | |
공공 기능 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
공개 정적 함수 | |
|---|---|
Capacity (int64 x) | |
Container (StringPiece x) | |
MinAfterDequeue (int64 x) | |
Seed (int64 x) | |
Seed2 (int64 x) | |
Shapes (const gtl::ArraySlice< PartialTensorShape > & x) | |
SharedName (StringPiece x) | |
구조 | |
|---|---|
| 텐서플로우:: ops:: RandomShuffleQueue:: Attrs | RandomShuffleQueue 에 대한 선택적 속성 설정기입니다. |
공개 속성
핸들
::tensorflow::Output handle
작업
Operation operation
공공 기능
랜덤셔플큐
RandomShuffleQueue( const ::tensorflow::Scope & scope, const DataTypeSlice & component_types )
랜덤셔플큐
RandomShuffleQueue( const ::tensorflow::Scope & scope, const DataTypeSlice & component_types, const RandomShuffleQueue::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const
공개 정적 함수
용량
Attrs Capacity( int64 x )
컨테이너
Attrs Container( StringPiece x )
MinAfterDequeue
Attrs MinAfterDequeue( int64 x )
씨앗
Attrs Seed( int64 x )
시드2
Attrs Seed2( int64 x )
모양
Attrs Shapes( const gtl::ArraySlice< PartialTensorShape > & x )
공유 이름
Attrs SharedName( StringPiece x )