Google I/O-তে টিউন করার জন্য ধন্যবাদ। চাহিদা অনুযায়ী সব সেশন দেখুন চাহিদা অনুযায়ী দেখুন

সেন্সরফ্লো :: অপস :: Dilation2D

#include <nn_ops.h>

4-ডি input এবং 3-ডি filter টেনারগুলির গ্রেস্কেল প্রসারণ গণনা করে।

সারসংক্ষেপ

input টেনসরের আকৃতি [batch, in_height, in_width, depth] এবং filter টেনসরের আকৃতি রয়েছে [filter_height, filter_width, depth] , অর্থাত, প্রতিটি ইনপুট চ্যানেল তার নিজস্ব কাঠামোগত ফাংশন সহ অন্যদের থেকে স্বাধীনভাবে প্রক্রিয়াজাত হয়। output টেনসরের আকৃতি রয়েছে [batch, out_height, out_width, depth] । আউটপুট টেনসরের স্থানিক মাত্রাগুলি padding অ্যালগরিদমের উপর নির্ভর করে। আমরা বর্তমানে কেবলমাত্র ডিফল্ট "NHWC" data_format সমর্থন data_format

বিশদ বিবরণে, গ্রেস্কেল মোর্ফোলজিকাল 2-ডি conv2d সর্বাধিক পরিমাণের পারস্পরিক সম্পর্ক ( conv2d সাথে ধারাবাহিকতার জন্য, আমরা অযৌক্তিক ফিল্টার ব্যবহার করি):

output[b, y, x, c] =
   max_{dy, dx} input[b,
                      strides[1] * y + rates[1] * dy,
                      strides[2] * x + rates[2] * dx,
                      c] +
                filter[dy, dx, c]

ফিল্টারটি পুলিং কার্নেলের আকারের সমান আকার ধারণ করে এবং সমস্ত শূন্য ধারণ করে ম্যাক্স-পুলিং একটি বিশেষ ক্ষেত্রে।

দ্বৈততার উপর দ্রষ্টব্য: filter দ্বারা input -input হওয়া প্রতিফলিত filter দ্বারা -input এর -input করার সমান।

যুক্তি:

  • সুযোগ: একটি স্কোপ অবজেক্ট
  • ইনপুট: 4-ডি আকৃতির সাথে [batch, in_height, in_width, depth]
  • ফিল্টার: 3-ডি আকৃতির সাথে [filter_height, filter_width, depth]
  • স্ট্রাইডস: ইনপুট টেনসরের প্রতিটি মাত্রার জন্য স্লাইডিং উইন্ডোর স্ট্রাইড। অবশ্যই হতে হবে: [1, stride_height, stride_width, 1]
  • হারগুলি: অ্যাট্রাস মোড়ফোলজিকাল রঙের জন্য ইনপুট স্ট্রাইড। অবশ্যই হতে হবে: [1, rate_height, rate_width, 1]
  • প্যাডিং: প্যাডিং অ্যালগরিদমের ধরণটি।

রিটার্নস:

  • Output : 4-ডি আকৃতির সাথে [batch, out_height, out_width, depth]

নির্মাণকারী এবং ধ্বংসকারী

Dilation2D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, const gtl::ArraySlice< int > & strides, const gtl::ArraySlice< int > & rates, StringPiece padding)

জনসাধারণের গুণাবলী

operation
output

পাবলিক ফাংশন

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

জনসাধারণের গুণাবলী

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

Dilation2D

 Dilation2D(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter,
  const gtl::ArraySlice< int > & strides,
  const gtl::ArraySlice< int > & rates,
  StringPiece padding
)

নোড

::tensorflow::Node * node() const 

অপারেটর :: টেনসরফ্লো :: ইনপুট

 operator::tensorflow::Input() const 

অপারেটর :: টেনসরফ্লো :: আউটপুট

 operator::tensorflow::Output() const