tensorflow:: אופס:: DepthwiseConv2dNativeBackpropFilter
#include <nn_ops.h>
מחשב את הגרדיאנטים של פיתול עומק ביחס למסנן.
תַקצִיר
טיעונים:
- scope: אובייקט Scope
- קלט: 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 shape היא[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::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
DataFormat
Attrs DataFormat( StringPiece x )
הרחבות
Attrs Dilations( const gtl::ArraySlice< int > & x )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-09 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-09 (שעון UTC)."],[],[]]