tensorflow:: ops:: ExtractImagePatches

#include <array_ops.h>

לחלץ patches images ולהכניס אותם לממד הפלט "עומק".

תַקצִיר

טיעונים:

  • היקף: אובייקט היקף
  • תמונות: טנזור 4-ממדי עם צורה [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 בקונבולוציות מורחבות (הידוע גם כ-Atrous).
  • ריפוד: סוג אלגוריתם הריפוד שיש להשתמש בו.

החזרות:

  • Output : טנזור 4-ממדי עם צורה [batch, out_rows, out_cols, ksize_rows * ksize_cols * depth] המכיל טלאי תמונה בגודל ksize_rows x ksize_cols x depth שעברו וקטוריזציה בממד "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)

מאפיינים ציבוריים

operation
patches

תפקידים ציבוריים

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

מאפיינים ציבוריים

מִבצָע

Operation operation

טלאים

::tensorflow::Output patches

תפקידים ציבוריים

תיקוןתמונותחלץ

 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