टेंसरफ़्लो :: ऑप्स :: SparseConditionalAccumulator
#include <data_flow_ops.h>
स्पार्स ग्रेडिएंट को एकत्रित करने के लिए एक सशर्त संचायक।
सारांश
संचायक स्थानीय_स्टेप के साथ चिह्नित ग्रेडिएंट्स को स्वीकार करता है जो संचयकर्ता को ज्ञात हाल के वैश्विक_स्टेप के बराबर या उससे अधिक है। औसत को संचायक से निकाला जा सकता है, बशर्ते पर्याप्त ग्रेडिएंट जमा हो गए हों। औसत निकालने पर स्वचालित रूप से 0 पर एग्रीगेट रीसेट हो जाता है, और संचायक द्वारा दर्ज Global_step को बढ़ाता है।
तर्क:
- गुंजाइश: एक स्कोप ऑब्जेक्ट
- dtype: जिस प्रकार का मूल्य संचित किया जा रहा है।
- आकार: मूल्यों का आकार।
वैकल्पिक विशेषताएँ ( Attrs
देखें):
- कंटेनर: यदि गैर-खाली है, तो यह संचयकर्ता दिए गए कंटेनर में रखा जाता है। अन्यथा, एक डिफ़ॉल्ट कंटेनर का उपयोग किया जाता है।
- साझा_नाम: यदि गैर-रिक्त है, तो यह संचायक कई सत्रों में दिए गए नाम के तहत साझा किया जाएगा।
रिटर्न:
-
Output
: संचायक को हैंडल।
कंस्ट्रक्टर और डिस्ट्रक्टर्स | |
---|---|
SparseConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape) | |
SparseConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const SparseConditionalAccumulator::Attrs & attrs) |
सार्वजनिक विशेषताएँ | |
---|---|
handle | |
operation |
सार्वजनिक कार्य | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
सार्वजनिक स्थैतिक कार्य | |
---|---|
Container (StringPiece x) | |
ReductionType (StringPiece x) | |
SharedName (StringPiece x) |
संरचनाएं | |
---|---|
टेंसोफ़्लो :: ऑप्स :: स्पार्सकंडिशियल एक्कुमुलेटर :: अट्र्स | SparseConditionalAccumulator के लिए वैकल्पिक विशेषता बसती है । |
सार्वजनिक विशेषताएँ
हैंडल
::tensorflow::Output handle
ऑपरेशन
Operation operation
सार्वजनिक कार्य
SparseConditionalAccumulator
SparseConditionalAccumulator( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape )
SparseConditionalAccumulator
SparseConditionalAccumulator( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const SparseConditionalAccumulator::Attrs & attrs )
नोड
::tensorflow::Node * node() const
ऑपरेटर :: टेंसरफ़्लो :: इनपुट
operator::tensorflow::Input() constहै
ऑपरेटर :: टेंसोफ़्लो :: आउटपुट
operator::tensorflow::Output() const
सार्वजनिक स्थैतिक कार्य
पात्र
Attrs Container( StringPiece x )
रिडक्शन टाइप
Attrs ReductionType( StringPiece x )
साझानाम
Attrs SharedName( StringPiece x )