tensorflow:: אופס:: ExtractImagePatches
#include <array_ops.h>
חלץ patches
images
ושם אותם בממד הפלט "עומק".
תַקצִיר
טיעונים:
- scope: אובייקט Scope
- תמונות: טנסור 4-D עם צורה
[batch, in_rows, in_cols, depth]
. - ksizes: גודל חלון ההזזה עבור כל מימד של
images
. - צעדים: עד כמה מרכזים של שני טלאים עוקבים נמצאים בתמונות. חייב להיות:
[1, stride_rows, stride_cols, 1]
. - rates: חייב להיות:
[1, rate_rows, rate_cols, 1]
. זהו צעד הקלט, המציין עד כמה נמצאות שתי דגימות תיקון עוקבות בקלט. שווה ערך לחילוץ טלאים עםpatch_sizes_eff = patch_sizes + (patch_sizes - 1) * (rates - 1)
, ואחריו תת-דגימתם במרחב לפי פקטור שלrates
. זה שווה ערךrate
בפיתולים מורחבים (המכונה גם אטרוס). - ריפוד: סוג אלגוריתם הריפוד שיש להשתמש בו.
החזרות:
-
Output
: טנסור 4-D עם צורה[batch, out_rows, out_cols, ksize_rows * ksize_cols * depth]
המכיל תיקוני תמונה עם גודלksize_rows x ksize_cols x depth
מקובעים במימד "עומק". הערהout_rows
ו-out_cols
הם הממדים של תיקוני הפלט.
בנאים והורסים | |
---|---|
ExtractImagePatches (const :: tensorflow::Scope & scope, :: tensorflow::Input images, const gtl::ArraySlice< int > & ksizes, const gtl::ArraySlice< int > & strides, const gtl::ArraySlice< int > & rates, StringPiece padding) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
תכונות ציבוריות
מִבצָע
Operation operation
טלאים
::tensorflow::Output patches
תפקידים ציבוריים
ExtractImagePatches
ExtractImagePatches( const ::tensorflow::Scope & scope, ::tensorflow::Input images, const gtl::ArraySlice< int > & ksizes, const gtl::ArraySlice< int > & strides, const gtl::ArraySlice< int > & rates, StringPiece padding )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const