সেন্সরফ্লো :: অপস :: ম্যাকপুলগ্র্যাডগ্রাড উইথআর্গমা্যাক্স
#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) |
জনসাধারণের গুণাবলী
পাবলিক ফাংশন
নোড
::tensorflow::Node * node() const
operator::tensorflow::Input() const
অপারেটর :: টেনসরফ্লো :: আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
IncludBatchInIndex
Attrs IncludeBatchInIndex(
bool x
)