tensorflow:: אופס:: AvgPool
#include <nn_ops.h>
מבצע איגום ממוצע על הקלט.
תַקצִיר
כל ערך output
הוא הממוצע של חלון ksize
בגודל המתאים value
.
טיעונים:
- scope: אובייקט Scope
- ערך: 4-D עם צורה
[batch, height, width, channels]
. - ksize: גודל חלון ההזזה עבור כל מימד של
value
. - צעדים: הצעד של חלון ההזזה עבור כל מימד של
value
. - ריפוד: סוג אלגוריתם הריפוד שיש להשתמש בו.
מאפיינים אופציונליים (ראה Attrs
):
- data_format: ציין את פורמט הנתונים של נתוני הקלט והפלט. עם פורמט ברירת המחדל "NHWC", הנתונים מאוחסנים בסדר של: [אצווה, גובה_ב, רוחב_ב-ערוצים]. לחלופין, הפורמט יכול להיות "NCHW", סדר אחסון הנתונים של: [אצווה, in_channels, in_height, in_width].
החזרות:
-
Output
: טנזור הפלט הממוצע המצטבר.
בנאים והורסים | |
---|---|
AvgPool (const :: tensorflow::Scope & scope, :: tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
AvgPool (const :: tensorflow::Scope & scope, :: tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const AvgPool::Attrs & attrs) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
פונקציות סטטיות ציבוריות | |
---|---|
DataFormat (StringPiece x) |
מבנים | |
---|---|
tensorflow:: ops:: AvgPool:: Attrs | קובעי תכונות אופציונליים עבור AvgPool . |
תכונות ציבוריות
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
AvgPool
AvgPool( const ::tensorflow::Scope & scope, ::tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
AvgPool
AvgPool( const ::tensorflow::Scope & scope, ::tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const AvgPool::Attrs & attrs )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
DataFormat
Attrs DataFormat( StringPiece x )