تينسورفلو :: العمليات :: DepthwiseConv2dNativeBackpropFilter
#include <nn_ops.h>
يحسب تدرجات الالتواء العمق فيما يتعلق بالفلتر.
ملخص
الحجج:
- النطاق: كائن النطاق
- الإدخال: 4-D مع شكل يعتمد على
data_format
. على سبيل المثال ، إذا كانتdata_format
هي "NHWC" ، فإنinput
هو موتر 4-D[batch, in_height, in_width, in_channels]
. - filter_sizes: متجه صحيح يمثل شكل الموتر
filter
، حيث يكونfilter
4-D[filter_height, filter_width, in_channels, depthwise_multiplier]
. - out_backprop: 4-D مع شكل يعتمد على
data_format
. على سبيل المثال ، إذا كانتdata_format
هي "NHWC" ، فسيكون شكل out_backprop هو[batch, out_height, out_width, out_channels]
. تدرجات مكتوبة بإخراج الالتواء. - خطوات: خطوة النافذة المنزلقة لكل بُعد من أبعاد مدخل الالتواء.
- المساحة المتروكة: نوع خوارزمية الحشو المراد استخدامها.
السمات الاختيارية (انظر Attrs
):
- data_format: حدد تنسيق البيانات لبيانات الإدخال والإخراج. باستخدام التنسيق الافتراضي "NHWC" ، يتم تخزين البيانات بالترتيب: [الدفعة ، الارتفاع ، العرض ، القنوات]. بدلاً من ذلك ، يمكن أن يكون التنسيق "NCHW" ، ترتيب تخزين البيانات: [الدُفعة ، القنوات ، الارتفاع ، العرض].
- التوسعات: موتر 1-D بطول 4. عامل التمدد لكل بعد من أبعاد
input
. إذا تم التعيين على k> 1 ، فسيكون هناك k-1 خلايا تم تخطيها بين كل عنصر مرشح على هذا البعد. يتم تحديد ترتيب البعد بواسطة قيمةdata_format
، انظر أعلاه للحصول على التفاصيل. يجب أن يكون التمدد في أبعاد الدُفعة والعمق 1.
عائدات:
-
Output
: 4-D مع الشكل[filter_height, filter_width, in_channels, out_channels]
. التدرج يكتب إدخالfilter
الالتواء.
البنائين والمدمرين | |
---|---|
DepthwiseConv2dNativeBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
DepthwiseConv2dNativeBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropFilter::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) |
الهياكل | |
---|---|
tensorflow :: ops :: DepthwiseConv2dNativeBackpropFilter :: Attrs | محددات السمات الاختيارية لـ DepthwiseConv2dNativeBackpropFilter . |
السمات العامة
عملية
Operation operation
انتاج
::tensorflow::Output output
الوظائف العامة
DepthwiseConv2dNativeBackpropFilter
DepthwiseConv2dNativeBackpropFilter( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter_sizes, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding )
DepthwiseConv2dNativeBackpropFilter
DepthwiseConv2dNativeBackpropFilter( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter_sizes, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropFilter::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 )
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"
}]