tensorflow::ops::PriorityQueue
#include <data_flow_ops.h>İlk bileşen değerine göre sıralanmış elemanlar üreten bir kuyruk.
Özet
PriorityQueue'nun , component_types tarafından tanımlanan diğer öğelere ek olarak, herhangi bir öğenin ilk bileşeninin skalar bir int64 olması gerektiğini unutmayın. Bu nedenle, PriorityQueue üzerinde Enqueue ve EnqueueMany (sırasıyla Dequeue ve DequeueMany) çağrıları, giriş (sırasıyla çıkış) listelerinde fazladan bir giriş gerektirecektir (sırasıyla çıktı verecektir).
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- Şekiller: Bir değerdeki her bileşenin şekli. Bu özniteliğin uzunluğu ya 0 olmalı ya da component_types'ın uzunluğuyla aynı olmalıdır. Bu özniteliğin uzunluğu 0 ise, kuyruk elemanlarının şekilleri kısıtlanmaz ve aynı anda yalnızca bir eleman kuyruktan çıkarılabilir.
İsteğe bağlı özellikler (bkz. Attrs ):
- component_types: Bir değerdeki her bileşenin türü.
- Kapasite: Bu kuyruktaki eleman sayısının üst sınırı. Negatif sayılar sınır olmadığını gösterir.
- Konteyner: Boş değilse, bu kuyruk belirtilen konteynere yerleştirilir. Aksi takdirde, varsayılan bir konteyner kullanılır.
- shared_name: Boş değilse, bu kuyruk belirtilen ad altında birden fazla oturumda paylaşılacaktır.
İadeler:
-
Output: Kuyruğun tanıtıcısı.
Yapıcılar ve Yıkıcılar | |
|---|---|
PriorityQueue (const :: tensorflow::Scope & scope, const gtl::ArraySlice< PartialTensorShape > & shapes) | |
PriorityQueue (const :: tensorflow::Scope & scope, const gtl::ArraySlice< PartialTensorShape > & shapes, const PriorityQueue::Attrs & attrs) |
Genel özellikler | |
|---|---|
handle | |
operation | |
Kamusal işlevler | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Herkese açık statik fonksiyonlar | |
|---|---|
Capacity (int64 x) | |
ComponentTypes (const DataTypeSlice & x) | |
Container (StringPiece x) | |
SharedName (StringPiece x) | |
Yapılar | |
|---|---|
| tensorflow::ops::PriorityQueue::Attrs | PriorityQueue için isteğe bağlı öznitelik ayarlayıcıları. |
Genel özellikler
halletmek
::tensorflow::Output handle
operasyon
Operation operation
Kamusal işlevler
Öncelik Sırası
PriorityQueue( const ::tensorflow::Scope & scope, const gtl::ArraySlice< PartialTensorShape > & shapes )
Öncelik Sırası
PriorityQueue( const ::tensorflow::Scope & scope, const gtl::ArraySlice< PartialTensorShape > & shapes, const PriorityQueue::Attrs & attrs )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Herkese açık statik fonksiyonlar
Kapasite
Attrs Capacity( int64 x )
Bileşen Türleri
Attrs ComponentTypes( const DataTypeSlice & x )
Konteyner
Attrs Container( StringPiece x )
Paylaşılan İsim
Attrs SharedName( StringPiece x )