זרימת טנסור :: אופ :: Conv2DBackpropFilter
#include <nn_ops.h>
מחשבת את שיפועי הפיתול ביחס למסנן.
סיכום
טענות:
- היקף: אובייקט Scope
- קלט: 4-D עם צורה
[batch, in_height, in_width, in_channels]
. - filter_sizes: וקטור שלם המייצג את צורת הטנסור של
filter
, כאשרfilter
הוא 4-D[filter_height, filter_width, in_channels, out_channels]
tensor. - out_backprop: 4-D עם צורה
[batch, out_height, out_width, out_channels]
. שיפועים עברו את תפוקת הקונבולוציה. - צעדים: צעד החלון הזזה לכל מימד של קלט הקונבולוציה. חייב להיות באותו סדר כמו הממד שצוין בתבנית.
- ריפוד: סוג אלגוריתם הריפוד לשימוש.
תכונות אופציונליות (ראה Attrs
):
- explicit_paddings: אם
padding
הוא"EXPLICIT"
, רשימת סכומי הריפוד המפורשים. עבור הממד ה- IH, כמות הריפודים שהוכנסה לפני הממד ואחריו היא ריפודיםexplicit_paddings[2 * i]
וריפודיםexplicit_paddings[2 * i + 1]
, בהתאמה. אםpadding
אינו"EXPLICIT"
,"EXPLICIT"
explicit_paddings
חייבים להיות ריקים. - 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
של הפיתול.
קונסטרוקטורים ומשחתנים | |
---|---|
Conv2DBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
Conv2DBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const Conv2DBackpropFilter::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 :: Conv2DBackpropFilter :: Attrs | קובעי תכונות אופציונליים עבור Conv2DBackpropFilter . |
תכונות ציבוריות
מבצע
Operation operation
תְפוּקָה
::tensorflow::Output output
פונקציות ציבוריות
Conv2DBackpropFilter
Conv2DBackpropFilter( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter_sizes, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding )
Conv2DBackpropFilter
Conv2DBackpropFilter( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter_sizes, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const Conv2DBackpropFilter::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
אופרטור :: זרימת טנסור :: קלט
operator::tensorflow::Input() const
אופרטור :: זרימת טנסור :: פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
פורמט נתונים
Attrs DataFormat( StringPiece x )
התרחבות
Attrs Dilations( const gtl::ArraySlice< int > & x )
ExplicitPaddings
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":"חסרים לי מידע או פרטים"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"התוכן מורכב מדי או עם יותר מדי שלבים"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"התוכן לא עדכני"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"בעיה בתרגום"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"בעיה בדוגמאות/בקוד"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"סיבה אחרת"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"התוכן קל להבנה"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"התוכן עזר לי לפתור בעיה"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"סיבה אחרת"
}]