تينسورفلو :: العمليات :: Conv2DBackpropInput
#include <nn_ops.h>
يحسب تدرجات الالتواء بالنسبة للإدخال.
ملخص
الحجج:
- النطاق: كائن النطاق
- input_sizes: متجه صحيح يمثل شكل
input
، حيث يكونinput
4-D[batch, height, width, channels]
موتر. - عامل التصفية: 4-D بالشكل
[filter_height, filter_width, in_channels, out_channels]
. - out_backprop: 4-D مع الشكل
[batch, out_height, out_width, out_channels]
. تدرجات مكتوبة بإخراج الالتواء. - خطوات: خطوة النافذة المنزلقة لكل بُعد من أبعاد مدخل الالتواء. يجب أن يكون بنفس ترتيب البعد المحدد بالتنسيق.
- المساحة المتروكة: نوع خوارزمية الحشو المطلوب استخدامها.
السمات الاختيارية (انظر Attrs
):
- صريح_بادينجس: إذا كانت
padding
"EXPLICIT"
صريحة"EXPLICIT"
، فإن قائمة كميات الحشو الصريحة بالنسبة للبعد ith ، فإن مقدار الحشو الذي تم إدخاله قبل وبعد البعد هوexplicit_paddings[2 * i]
وexplicit_paddings[2 * i + 1]
، على التوالي. إذا لم تكنpadding
"EXPLICIT"
، فيجب أن تكون"EXPLICIT"
explicit_paddings
فارغة. - data_format: حدد تنسيق البيانات لبيانات الإدخال والإخراج. باستخدام التنسيق الافتراضي "NHWC" ، يتم تخزين البيانات بالترتيب التالي: [الدُفعة ، الارتفاع ، العرض ، in_channels]. بدلاً من ذلك ، يمكن أن يكون التنسيق "NCHW" ، ترتيب تخزين البيانات لـ: [دُفعة ، داخل قنوات ، داخل_ارتفاع ، عرض_داخل].
- التوسعات: موتر 1-D بطول 4. عامل التمدد لكل بعد من أبعاد
input
. إذا تم التعيين على k> 1 ، فسيكون هناك k-1 خلايا تم تخطيها بين كل عنصر مرشح على هذا البعد. يتم تحديد ترتيب البعد بواسطة قيمةdata_format
، انظر أعلاه للحصول على التفاصيل. يجب أن يكون التمدد في أبعاد الدُفعة والعمق 1.
عائدات:
-
Output
: 4-D مع الشكل[batch, in_height, in_width, in_channels]
. التدرج يكتب مدخلات الالتواء.
البنائين والمدمرين | |
---|---|
Conv2DBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
Conv2DBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const Conv2DBackpropInput::Attrs & attrs) |
السمات العامة | |
---|---|
operation | |
output |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
DataFormat (StringPiece x) | |
Dilations (const gtl::ArraySlice< int > & x) | |
ExplicitPaddings (const gtl::ArraySlice< int > & x) | |
UseCudnnOnGpu (bool x) |
الهياكل | |
---|---|
tensorflow :: ops :: Conv2DBackpropInput :: Attrs | محددات السمات الاختيارية لـ Conv2DBackpropInput . |
السمات العامة
عملية
Operation operation
انتاج
::tensorflow::Output output
الوظائف العامة
Conv2DBackpropInput
Conv2DBackpropInput( const ::tensorflow::Scope & scope, ::tensorflow::Input input_sizes, ::tensorflow::Input filter, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding )
Conv2DBackpropInput
Conv2DBackpropInput( const ::tensorflow::Scope & scope, ::tensorflow::Input input_sizes, ::tensorflow::Input filter, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const Conv2DBackpropInput::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
تنسيق البيانات
Attrs DataFormat( StringPiece x )
التوسعات
Attrs Dilations( const gtl::ArraySlice< int > & x )
صريح
Attrs ExplicitPaddings( const gtl::ArraySlice< int > & x )
UseCudnnOnGpu
Attrs UseCudnnOnGpu( bool 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"
}]