টেনসরফ্লো :: অপস:: ExtractImagePatches
#include <array_ops.h> images থেকে patches বের করুন এবং তাদের "গভীরতা" আউটপুট মাত্রায় রাখুন।
সারাংশ
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
-  ছবি: আকৃতি সহ 4-ডি টেনসর [batch, in_rows, in_cols, depth]।
-  ksizes: imagesপ্রতিটি মাত্রার জন্য স্লাইডিং উইন্ডোর আকার।
-  স্ট্রাইডস: ছবিগুলিতে পরপর দুটি প্যাচের কেন্দ্রগুলি কতদূর। হতে হবে: [1, stride_rows, stride_cols, 1]।
-  হার: হতে হবে: [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) | 
| পাবলিক বৈশিষ্ট্য | |
|---|---|
| operation | |
| patches | |
| পাবলিক ফাংশন | |
|---|---|
| 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
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const