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

সেন্সরফ্লো :: অপস :: ম্যাকপুলগ্র্যাডগ্রাডভি 2 2

#include <nn_ops.h>

ম্যাকপুলিং ফাংশনের সেকেন্ড-অর্ডার গ্রেডিয়েন্টগুলি গণনা করে।

সারসংক্ষেপ

যুক্তি:

  • সুযোগ: একটি স্কোপ অবজেক্ট
  • অরিজিন_পিন্ড: মূল ইনপুট টেনসর।
  • উত্স_আউটপুট: আসল আউটপুট টেনসর or
  • গ্রেড: 4-ডি। গ্রেডিয়েন্টগুলির গ্রেডিয়েন্টগুলি সর্বোচ্চ_পুলের ইনপুটটি max_pool
  • ksize: ইনপুট টেনসরের প্রতিটি মাত্রার জন্য উইন্ডোর আকার।
  • স্ট্রাইডস: ইনপুট টেনসরের প্রতিটি মাত্রার জন্য স্লাইডিং উইন্ডোর স্ট্রাইড।
  • প্যাডিং: প্যাডিং অ্যালগরিদমের ধরণটি।

Attrs বৈশিষ্ট্য ( Attrs ):

  • ডেটা_ফর্ম্যাট: ইনপুট এবং আউটপুট ডেটার ডেটা ফর্ম্যাট উল্লেখ করুন। ডিফল্ট ফর্ম্যাট "এনএইচডব্লিউসি" এর সাথে ডেটাটি এই ক্রমে সংরক্ষণ করা হয়: [ব্যাচ, ইনহাইট, ইন_উইথ, ইন_চ্যানেলস]। বিকল্পভাবে, ফর্ম্যাটটি "এনসিএইচডাব্লু" হতে পারে, এর ডেটা স্টোরেজ ক্রম: [ব্যাচ, ইন_চ্যানেলস, ইনহাইট, ইন_ওয়াইথ]।

রিটার্নস:

  • Output : গ্রেডিয়েন্টগুলির গ্রেডিয়েন্টগুলি max_pool

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

MaxPoolGradGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding)
MaxPoolGradGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding, const MaxPoolGradGradV2::Attrs & attrs)

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

operation
output

পাবলিক ফাংশন

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

পাবলিক স্ট্যাটিক ফাংশন

DataFormat (StringPiece x)

স্ট্রাক্টস

টেনসরফ্লো :: অপ্স :: ম্যাকপুলগ্র্যাডগ্রাডভি 2 :: অ্যাটার্স

ম্যাকপুলগ্র্যাডগ্রাডভি 2 এর জন্য .চ্ছিক অ্যাট্রিবিউট সেটটার

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

ম্যাকপুলগ্র্যাডগ্রাডভি 2 2

 MaxPoolGradGradV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding
)

ম্যাকপুলগ্র্যাডগ্রাডভি 2 2

 MaxPoolGradGradV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding,
  const MaxPoolGradGradV2::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

পাবলিক স্ট্যাটিক ফাংশন

উপাত্ত বিন্যাস

Attrs DataFormat(
  StringPiece x
)