সেন্সরফ্লো :: অপস :: ম্যাকপুলগ্র্যাডগ্রাড উইথআর্গমা্যাক্স

#include <nn_ops.h>

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

সারসংক্ষেপ

যুক্তি:

  • সুযোগ: একটি স্কোপ অবজেক্ট
  • ইনপুট: আসল ইনপুট।
  • গ্রেড: আকারের সাথে 4-ডি [batch, height, width, channels] । গ্রেডিয়েন্টস সর্বোচ্চ_পুলের ইনপুটটি max_pool
  • আরগম্যাক্স: সর্বোচ্চ_পুলের প্রতিটি আউটপুটের জন্য নির্বাচিত সর্বাধিক মানের max_pool
  • ksize: ইনপুট টেনসরের প্রতিটি মাত্রার জন্য উইন্ডোর আকার।
  • স্ট্রাইডস: ইনপুট টেনসরের প্রতিটি মাত্রার জন্য স্লাইডিং উইন্ডোর স্ট্রাইড।
  • প্যাডিং: প্যাডিং অ্যালগরিদমের ধরণটি।

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

  • argmax সূচিতে ব্যাচের মাত্রা অন্তর্ভুক্ত করা হবে কিনা।

রিটার্নস:

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

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

MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding)
MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::Attrs & attrs)

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

operation
output

পাবলিক ফাংশন

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

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

IncludeBatchInIndex (bool x)

স্ট্রাক্টস

টেনসরফ্লো :: অপ্স :: ম্যাকপুলগ্র্যাডগ্রাড উইথআরগম্যাক্স :: অ্যাটার্স

ম্যাকপুলগ্র্যাডগ্র্যাডগ্রাথ উইথআরগম্যাক্সের জন্য ptionচ্ছিক অ্যাট্রিবিউট সেটটার

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

অপারেশন

Operation operation

আউটপুট

::tensorflow::Output output

পাবলিক ফাংশন

ম্যাকসপুলগ্র্যাডগ্রাড উইথআর্গমা্যাক্স

 MaxPoolGradGradWithArgmax(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input grad,
  ::tensorflow::Input argmax,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

ম্যাকসপুলগ্র্যাডগ্রাড উইথআর্গমা্যাক্স

 MaxPoolGradGradWithArgmax(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input grad,
  ::tensorflow::Input argmax,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const MaxPoolGradGradWithArgmax::Attrs & attrs
)

নোড

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

IncludBatchInIndex

Attrs IncludeBatchInIndex(
  bool x
)