تينسورفلو :: العمليات :: كمي
#include <nn_ops.h>
يحسب التفافًا ثنائي الأبعاد وفقًا لمدخلات 4D الكمية وموترات التصفية.
ملخص
المدخلات عبارة عن موترات كمية حيث تمثل أدنى قيمة العدد الحقيقي للحد الأدنى المرتبط ، وتمثل أعلى قيمة الحد الأقصى. هذا يعني أنه يمكنك فقط تفسير الناتج المحسوب بنفس الطريقة ، من خلال مراعاة القيم الدنيا والقصوى التي تم إرجاعها.
الحجج:
- النطاق: كائن النطاق
- عامل التصفية: يجب أن يتطابق بُعد عمق الإدخال للمرشح مع أبعاد عمق الإدخال.
- min_input: القيمة العائمة التي تمثلها أدنى قيمة كمية للمدخلات.
- max_input: القيمة العائمة التي تمثلها أعلى قيمة مدخلات كمية.
- min_filter: القيمة العائمة التي تمثلها أدنى قيمة للمرشح الكمي.
- max_filter: القيمة العائمة التي تمثلها أعلى قيمة ترشيح كمية.
- strides: خطوة النافذة المنزلقة لكل بعد من أبعاد موتر الإدخال.
- المساحة المتروكة: نوع خوارزمية الحشو المراد استخدامها.
السمات الاختيارية (انظر Attrs
):
- التوسعات: موتر 1-D بطول 4. عامل التمدد لكل بعد من أبعاد
input
. إذا تم التعيين على k> 1 ، فسيكون هناك k-1 خلايا تم تخطيها بين كل عنصر مرشح على هذا البعد. يتم تحديد ترتيب البعد بواسطة قيمةdata_format
، انظر أعلاه للحصول على التفاصيل. يجب أن يكون التمدد في أبعاد الدُفعة والعمق 1.
عائدات:
-
Output
الإخراج -
Output
min_output: القيمة العائمة التي تمثلها أدنى قيمة مخرجات كمية. -
Output
max_output: القيمة العائمة التي تمثلها أعلى قيمة كمية للإخراج.
البنائين والمدمرين | |
---|---|
QuantizedConv2D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, :: tensorflow::Input min_input, :: tensorflow::Input max_input, :: tensorflow::Input min_filter, :: tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
QuantizedConv2D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, :: tensorflow::Input min_input, :: tensorflow::Input max_input, :: tensorflow::Input min_filter, :: tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding, const QuantizedConv2D::Attrs & attrs) |
السمات العامة | |
---|---|
max_output | |
min_output | |
operation | |
output |
وظائف ثابتة عامة | |
---|---|
Dilations (const gtl::ArraySlice< int > & x) | |
OutType (DataType x) |
الهياكل | |
---|---|
tensorflow :: العمليات :: QuantizedConv2D :: Attrs | محددات السمات الاختيارية لـ QuantizedConv2D . |
السمات العامة
أقصى انتاج
::tensorflow::Output max_output
min_output
::tensorflow::Output min_output
عملية
Operation operation
انتاج
::tensorflow::Output output
الوظائف العامة
كمي
QuantizedConv2D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter, ::tensorflow::Input min_input, ::tensorflow::Input max_input, ::tensorflow::Input min_filter, ::tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding )
كمي
QuantizedConv2D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter, ::tensorflow::Input min_input, ::tensorflow::Input max_input, ::tensorflow::Input min_filter, ::tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding, const QuantizedConv2D::Attrs & attrs )
وظائف ثابتة عامة
تمدد
Attrs Dilations( const gtl::ArraySlice< int > & x )
OutType
Attrs OutType( DataType x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2020-04-20 (حسب التوقيت العالمي المتفَّق عليه)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"لا يحتوي على المعلومات التي أحتاج إليها."
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"الخطوات معقدة للغاية / كثيرة جدًا."
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"المحتوى قديم."
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ثمة مشكلة في الترجمة."
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غير ذلك"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"يسهُل فهم المحتوى."
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"ساعَدني المحتوى في حلّ مشكلتي."
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غير ذلك"
}]