تينسورفلو :: العمليات :: عشوائي المراوغة
#include <data_flow_ops.h>
قائمة انتظار تقوم بترتيب العناصر بشكل عشوائي.
ملخص
الحجج:
- النطاق: كائن النطاق
- Compon_types: نوع كل مكون في القيمة.
السمات الاختيارية (انظر Attrs
):
- الأشكال: شكل كل مكون في القيمة. يجب أن يكون طول هذا السمة 0 أو نفس طول أنواع المكوّنات. إذا كان طول هذا Attr يساوي 0 ، فإن أشكال عناصر قائمة الانتظار غير مقيدة ، ويمكن فصل عنصر واحد فقط في كل مرة.
- السعة: الحد الأعلى لعدد العناصر في قائمة الانتظار هذه. الأرقام السالبة تعني عدم وجود حد.
- min_after_dequeue: سيتم حظر Dequeue ما لم يكن هناك العديد من العناصر بعد dequeue أو إغلاق قائمة الانتظار. هذا يضمن الحد الأدنى من خلط العناصر.
- البذرة: إذا تم ضبط البذرة أو البذرة 2 على أن تكون غير صفرية ، فإن مولد الأرقام العشوائية يُبذر بواسطة البذرة المعينة. خلاف ذلك ، يتم استخدام بذرة عشوائية.
- 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) |
الهياكل | |
---|---|
tensorflow :: 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
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
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 )
SharedName
Attrs SharedName( StringPiece 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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]