تينسورفلو :: العمليات :: Conv2DBackpropFilter :: أترس
#include <nn_ops.h>
محددات السمات الاختيارية لـ Conv2DBackpropFilter .
ملخص
السمات العامة | |
---|---|
data_format_ = "NHWC" | StringPiece |
dilations_ = Default_dilations() | gtl::ArraySlice< int > |
explicit_paddings_ = {} | gtl::ArraySlice< int > |
use_cudnn_on_gpu_ = true | bool |
الوظائف العامة | |
---|---|
DataFormat (StringPiece x) | TF_MUST_USE_RESULT Attrs حدد تنسيق البيانات لبيانات الإدخال والإخراج. |
Dilations (const gtl::ArraySlice< int > & x) | TF_MUST_USE_RESULT Attrs موتر 1-D بطول 4. |
ExplicitPaddings (const gtl::ArraySlice< int > & x) | TF_MUST_USE_RESULT Attrs إذا كانت padding "EXPLICIT" صريحة "EXPLICIT" ، فإن قائمة كميات الحشو الصريحة. |
UseCudnnOnGpu (bool x) | TF_MUST_USE_RESULT Attrs افتراضات على صواب. |
السمات العامة
تنسيق البيانات_
StringPiece tensorflow::ops::Conv2DBackpropFilter::Attrs::data_format_ = "NHWC"
التوسعات_
gtl::ArraySlice< int > tensorflow::ops::Conv2DBackpropFilter::Attrs::dilations_ = Default_dilations()
الصريحة_الباقات_
gtl::ArraySlice< int > tensorflow::ops::Conv2DBackpropFilter::Attrs::explicit_paddings_ = {}
use_cudnn_on_gpu_
bool tensorflow::ops::Conv2DBackpropFilter::Attrs::use_cudnn_on_gpu_ = true
الوظائف العامة
تنسيق البيانات
TF_MUST_USE_RESULT Attrs tensorflow::ops::Conv2DBackpropFilter::Attrs::DataFormat( StringPiece x )
حدد تنسيق البيانات لبيانات الإدخال والإخراج.
باستخدام التنسيق الافتراضي "NHWC" ، يتم تخزين البيانات بالترتيب التالي: [دُفعة ، داخل_ارتفاع ، عرض_داخل ، داخل_قنوات]. بدلاً من ذلك ، يمكن أن يكون التنسيق "NCHW" ، ترتيب تخزين البيانات لـ: [دُفعة ، داخل قنوات ، داخل_ارتفاع ، عرض_داخل]
افتراضات على "NHWC"
التوسعات
TF_MUST_USE_RESULT Attrs tensorflow::ops::Conv2DBackpropFilter::Attrs::Dilations( const gtl::ArraySlice< int > & x )
موتر 1-D بطول 4.
عامل التمدد لكل بعد من أبعاد input
. إذا تم التعيين على k> 1 ، فسيكون هناك k-1 خلايا تم تخطيها بين كل عنصر مرشح على هذا البعد. يتم تحديد ترتيب البعد بواسطة قيمة data_format
، انظر أعلاه للحصول على التفاصيل. يجب أن يكون التمدد في أبعاد الدُفعة والعمق 1.
افتراضات على [1 ، 1 ، 1 ، 1]
صريح
TF_MUST_USE_RESULT Attrs tensorflow::ops::Conv2DBackpropFilter::Attrs::ExplicitPaddings( const gtl::ArraySlice< int > & x )
إذا كانت padding
"EXPLICIT"
صريحة "EXPLICIT"
، فإن قائمة كميات الحشو الصريحة.
بالنسبة للبعد ith ، فإن مقدار الحشو الذي تم إدخاله قبل وبعد البعد هو explicit_paddings[2 * i]
و explicit_paddings[2 * i + 1]
، على التوالي. إذا لم تكن padding
"EXPLICIT"
، فيجب أن تكون "EXPLICIT"
explicit_paddings
فارغة.
افتراضات على []
UseCudnnOnGpu
TF_MUST_USE_RESULT Attrs tensorflow::ops::Conv2DBackpropFilter::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.