tensorflow:: ops:: ConditionalAccumulator

#include <data_flow_ops.h>

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

सारांश

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

तर्क:

  • स्कोप: एक स्कोप ऑब्जेक्ट
  • dtype: संचित किए जा रहे मान का प्रकार।
  • आकार: मानों का आकार, [] हो सकता है, इस स्थिति में आकार अज्ञात है।

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

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

प्रतिफल:

  • Output : संचायक का हैंडल।

कंस्ट्रक्टर और डिस्ट्रक्टर

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

संरचनाएँ

टेन्सरफ्लो::ऑप्स::कंडीशनलएक्यूमुलेटर::एट्रिब्यूट्स

ConditionalAccumulator के लिए वैकल्पिक विशेषता निर्धारक।

सार्वजनिक विशेषताएँ

सँभालना

::tensorflow::Output handle

संचालन

Operation operation

सार्वजनिक समारोह

सशर्त संचायक

 ConditionalAccumulator(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape
)

सशर्त संचायक

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