tensorflow:: ops:: SparseConditionalAccumulator

#include <data_flow_ops.h>

विरल प्रवणताओं को एकत्रित करने के लिए एक सशर्त संचायक।

सारांश

एक्युमुलेटर उन ग्रेडिएंट्स को स्वीकार करता है जिनका local_step मान एक्युमुलेटर द्वारा ज्ञात नवीनतम global_step के बराबर या उससे अधिक होता है। पर्याप्त ग्रेडिएंट्स संचित होने पर एक्युमुलेटर से औसत निकाला जा सकता है। औसत निकालने से कुल योग स्वतः ही शून्य पर रीसेट हो जाता है और एक्युमुलेटर द्वारा दर्ज किया गया global_step मान बढ़ जाता है।

तर्क:

  • स्कोप: एक स्कोप ऑब्जेक्ट
  • dtype: संचित किए जा रहे मान का प्रकार।
  • आकार: मानों का आकार।

वैकल्पिक विशेषताएँ (देखें Attrs ):

  • कंटेनर: यदि खाली नहीं है, तो इस संचायक को दिए गए कंटेनर में रखा जाता है। अन्यथा, एक डिफ़ॉल्ट कंटेनर का उपयोग किया जाता है।
  • shared_name: यदि यह खाली नहीं है, तो यह संचायक दिए गए नाम के तहत कई सत्रों में साझा किया जाएगा।

प्रतिफल:

  • 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(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape
)

स्पार्स कंडीशनल एक्यूमुलेटर

 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
)