텐서플로우::ops::PriorityQueue
#include <data_flow_ops.h>첫 번째 구성 요소 값을 기준으로 정렬된 요소를 생성하는 큐입니다.
요약
PriorityQueue는 component_types로 선언된 다른 요소들 외에도, 모든 요소의 첫 번째 구성 요소가 스칼라 int64여야 한다는 점에 유의하십시오. 따라서 PriorityQueue 에 대한 Enqueue 및 EnqueueMany(또는 Dequeue 및 DequeueMany) 호출은 모두 입력(또는 출력) 목록에 하나의 추가 항목을 필요로 합니다.
논거:
- 범위: Scope 객체
- shapes: 값의 각 구성 요소의 모양입니다. 이 속성의 길이는 0이거나 component_types의 길이와 같아야 합니다. 이 속성의 길이가 0이면 큐 요소의 모양에 제약이 없으며 한 번에 하나의 요소만 꺼낼 수 있습니다.
선택적 속성( Attrs 참조):
- component_types: 값에 포함된 각 구성 요소의 유형입니다.
- 용량: 이 큐에 저장될 수 있는 요소 수의 상한입니다. 음수는 제한이 없음을 의미합니다.
- 컨테이너: 비어 있지 않으면 이 큐는 지정된 컨테이너에 배치됩니다. 그렇지 않으면 기본 컨테이너가 사용됩니다.
- shared_name: 비어 있지 않은 경우, 이 큐는 지정된 이름으로 여러 세션에서 공유됩니다.
보고:
-
Output: 큐 핸들.
생성자와 소멸자 | |
|---|---|
PriorityQueue (const :: tensorflow::Scope & scope, const gtl::ArraySlice< PartialTensorShape > & shapes) | |
PriorityQueue (const :: tensorflow::Scope & scope, const gtl::ArraySlice< PartialTensorShape > & shapes, const PriorityQueue::Attrs & attrs) |
공개 속성 | |
|---|---|
handle | |
operation | |
공공 기능 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
공개 정적 함수 | |
|---|---|
Capacity (int64 x) | |
ComponentTypes (const DataTypeSlice & x) | |
Container (StringPiece x) | |
SharedName (StringPiece x) | |
구조 | |
|---|---|
| 텐서플로우::ops::PriorityQueue::Attrs | PriorityQueue 에 대한 선택적 속성 설정기입니다. |
공개 속성
핸들
::tensorflow::Output handle
작업
Operation operation
공공 기능
우선순위 큐
PriorityQueue( const ::tensorflow::Scope & scope, const gtl::ArraySlice< PartialTensorShape > & shapes )
우선순위 큐
PriorityQueue( const ::tensorflow::Scope & scope, const gtl::ArraySlice< PartialTensorShape > & shapes, const PriorityQueue::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const
공개 정적 함수
용량
Attrs Capacity( int64 x )
구성 요소 유형
Attrs ComponentTypes( const DataTypeSlice & x )
컨테이너
Attrs Container( StringPiece x )
공유 이름
Attrs SharedName( StringPiece x )