تينسورفلو :: العمليات :: كمي
#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 )
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"
}]