tensorflow:: ops:: MaxPoolGradGradWithArgmax
#include <nn_ops.h>मैक्सपूलिंग फ़ंक्शन के द्वितीय-क्रम ग्रेडिएंट की गणना करता है।
सारांश
तर्क:
- स्कोप: एक स्कोप ऑब्जेक्ट
- इनपुट: मूल इनपुट।
- ग्रेडिएंट: 4-डी, आकार
[batch, height, width, channels]के साथ।max_poolके इनपुट के सापेक्ष ग्रेडिएंट। - argmax:
max_poolके प्रत्येक आउटपुट के लिए चुने गए अधिकतम मानों के सूचकांक। - ksize: इनपुट टेंसर के प्रत्येक आयाम के लिए विंडो का आकार।
- स्ट्राइड्स: इनपुट टेंसर के प्रत्येक आयाम के लिए स्लाइडिंग विंडो का स्ट्राइड।
- पैडिंग: उपयोग किए जाने वाले पैडिंग एल्गोरिदम का प्रकार।
वैकल्पिक विशेषताएँ (देखें Attrs ):
- include_batch_in_index: क्या
argmaxके समतलीकृत सूचकांक में बैच आयाम को शामिल करना है।
प्रतिफल:
-
Output: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) | |
संरचनाएँ | |
|---|---|
| tensorflow:: ops:: MaxPoolGradGradWithArgmax:: Attrs | MaxPoolGradGradWithArgmax के लिए वैकल्पिक विशेषता सेटर्स। |
सार्वजनिक विशेषताएँ
संचालन
Operation operation
आउटपुट
::tensorflow::Output output
सार्वजनिक समारोह
MaxPoolGradGradWithArgmax
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
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
सार्वजनिक स्थैतिक फ़ंक्शन
IncludeBatchInIndex
Attrs IncludeBatchInIndex( bool x )