टेंसरफ़्लो:: ऑप्स:: विरल सशर्त संचायक

#include <data_flow_ops.h>

विरल ग्रेडिएंट्स को एकत्र करने के लिए एक सशर्त संचायक।

सारांश

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

तर्क:

  • स्कोप: एक स्कोप ऑब्जेक्ट
  • 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:: Attrs

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
)