텐서플로우::ops::PaddingFIFOQueue
#include <data_flow_ops.h>선입선출(FIFO) 순서로 요소를 생성하는 큐.
요약
가변 크기 도형을 사용하려면 도형 속성에서 해당 도형의 크기를 0으로 설정하십시오. 이 경우 DequeueMany는 미니배치의 각 요소의 최대 크기까지 패딩합니다. 자세한 내용은 아래를 참조하십시오.
논거:
- 범위: Scope 객체
- component_types: 값에 포함된 각 구성 요소의 유형입니다.
선택적 속성( Attrs 참조):
- shapes: 값의 각 구성 요소의 모양입니다. 이 속성의 길이는 0이거나 component_types의 길이와 같아야 합니다. 모양 차원을 -1로 설정하면 고정된 순위이지만 가변적인 크기를 가진 모양을 허용할 수 있습니다. 이 경우 입력의 모양은 지정된 차원을 따라 달라질 수 있으며, DequeueMany는 지정된 배치에 있는 모든 요소의 최대 모양까지 해당 차원을 0으로 채웁니다. 이 속성의 길이가 0이면 서로 다른 큐 요소가 서로 다른 순위와 모양을 가질 수 있지만 한 번에 하나의 요소만 제거할 수 있습니다.
- 용량: 이 큐에 저장될 수 있는 요소 수의 상한입니다. 음수는 제한이 없음을 의미합니다.
- 컨테이너: 비어 있지 않으면 이 큐는 지정된 컨테이너에 배치됩니다. 그렇지 않으면 기본 컨테이너가 사용됩니다.
- shared_name: 비어 있지 않은 경우, 이 큐는 지정된 이름으로 여러 세션에서 공유됩니다.
보고:
-
Output: 큐 핸들.
생성자와 소멸자 | |
|---|---|
PaddingFIFOQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types) | |
PaddingFIFOQueue (const :: tensorflow::Scope & scope, const DataTypeSlice & component_types, const PaddingFIFOQueue::Attrs & attrs) |
공개 속성 | |
|---|---|
handle | |
operation | |
공공 기능 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
공개 정적 함수 | |
|---|---|
Capacity (int64 x) | |
Container (StringPiece x) | |
Shapes (const gtl::ArraySlice< PartialTensorShape > & x) | |
SharedName (StringPiece x) | |
구조 | |
|---|---|
| 텐서플로우:: ops:: PaddingFIFOQueue:: Attrs | PaddingFIFOQueue 에 대한 선택적 속성 설정기입니다. |
공개 속성
핸들
::tensorflow::Output handle
작업
Operation operation
공공 기능
패딩FIFO큐
PaddingFIFOQueue( const ::tensorflow::Scope & scope, const DataTypeSlice & component_types )
패딩FIFO큐
PaddingFIFOQueue( const ::tensorflow::Scope & scope, const DataTypeSlice & component_types, const PaddingFIFOQueue::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const
공개 정적 함수
용량
Attrs Capacity( int64 x )
컨테이너
Attrs Container( StringPiece x )
모양
Attrs Shapes( const gtl::ArraySlice< PartialTensorShape > & x )
공유 이름
Attrs SharedName( StringPiece x )