تينسورفلو :: العمليات :: QueueDequeueMany
#include <data_flow_ops.h>
Dequeues n
tuples لواحد أو أكثر من الموترات من قائمة الانتظار المحددة.
ملخص
إذا تم إغلاق قائمة الانتظار وكان هناك أقل من n
من العناصر ، فسيتم إرجاع خطأ OutOfRange.
تجمع هذه العملية موترات مكون عنصر قائمة الانتظار على طول البعد 0 لإنشاء موتر مكون واحد. سيكون حجم جميع المكونات في المجموعة المنزوعة الصفة n
في البعد 0.
تحتوي هذه العملية على مخرجات k
، حيث k
هو عدد المكونات في المجموعات المخزنة في قائمة الانتظار المحددة ، والمخرج i
هو المكون i من المجموعة المنزوعة الصف.
ملاحظة: إذا كانت قائمة الانتظار فارغة ، فسيتم حظر هذه العملية حتى يتم إلغاء ترتيب n
العناصر (أو تنقضي "timeout_ms" ، إذا تم تحديد ذلك).
الحجج:
- النطاق: كائن النطاق
- المقبض: مقبض قائمة الانتظار.
- n: عدد المجموعات المطلوب التخلص منها.
- Compon_types: نوع كل مكون في المجموعة.
السمات الاختيارية (انظر Attrs
):
- timeout_ms: إذا كانت قائمة الانتظار تحتوي على أقل من n من العناصر ، فسيتم حظر هذه العملية لمدة تصل إلى timeout_ms مللي ثانية. ملاحظة: هذا الخيار غير مدعوم حتى الآن.
عائدات:
-
OutputList
: واحد أو أكثر من الموترات التي تم فصلها في صفها على أنها مجموعة.
البنائين والمدمرين | |
---|---|
QueueDequeueMany (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input n, const DataTypeSlice & component_types) | |
QueueDequeueMany (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input n, const DataTypeSlice & component_types, const QueueDequeueMany::Attrs & attrs) |
السمات العامة | |
---|---|
components | |
operation |
الوظائف العامة | |
---|---|
operator[] (size_t index) const |
وظائف ثابتة عامة | |
---|---|
TimeoutMs (int64 x) |
الهياكل | |
---|---|
tensorflow :: ops :: QueueDequeueMany :: Attrs | محددات السمات الاختيارية لـ QueueDequeueMany . |
السمات العامة
عناصر
::tensorflow::OutputList components
عملية
Operation operation
الوظائف العامة
QueueDequeueMany
QueueDequeueMany( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input n, const DataTypeSlice & component_types )
QueueDequeueMany
QueueDequeueMany( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input n, const DataTypeSlice & component_types, const QueueDequeueMany::Attrs & attrs )
المشغل أو العامل[]
::tensorflow::Output operator[]( size_t index ) const
وظائف ثابتة عامة
مهلة
Attrs TimeoutMs( int64 x )
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.