टेंसरफ़्लो :: ऑप्स :: रिसोर्सएप्लीप्रॉक्सीमलग्रैडडेसेंट

#include <training_ops.h>

फिक्स्ड लर्निंग रेट के साथ एफओबी संस्करण के रूप में '' var '' अपडेट करें।

सारांश

prox_v = var - अल्फ़ा * डेल्टा var = sign (prox_v) / (1 + अल्फ़ा * l2 * अधिकतम * {prox_v | -alpha * l1,0}

तर्क:

  • गुंजाइश: एक स्कोप ऑब्जेक्ट
  • var: एक चर () से होना चाहिए।
  • अल्फा: स्केलिंग फैक्टर। एक स्केलर होना चाहिए।
  • एल 1: एल 1 नियमितीकरण। एक स्केलर होना चाहिए।
  • एल 2: एल 2 नियमितीकरण। एक स्केलर होना चाहिए।
  • डेल्टा: परिवर्तन।

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

  • use_locking: यदि सही है, तो घटाव को एक लॉक द्वारा संरक्षित किया जाएगा; अन्यथा व्यवहार अपरिभाषित है, लेकिन कम विवाद को प्रदर्शित कर सकता है।

रिटर्न:

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

ResourceApplyProximalGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input delta)
ResourceApplyProximalGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input delta, const ResourceApplyProximalGradientDescent::Attrs & attrs)

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

operation

सार्वजनिक कार्य

operator::tensorflow::Operation () const

सार्वजनिक स्थैतिक कार्य

UseLocking (bool x)

संरचनाएं

टेंसोफ़्लो :: ऑप्स :: रिसोर्सएपलीप्रोक्सिमलग्रैडिएंटडेसेंट :: एट्रस

वैकल्पिक विशेषता ResourceApplyProximalGradientDescent के लिए बसती है।

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

ऑपरेशन

Operation operation

सार्वजनिक कार्य

रिसोर्सएप्लीप्रॉक्सीमलग्रैडडेसेंट

 ResourceApplyProximalGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input delta
)

रिसोर्सएप्लीप्रॉक्सीमलग्रैडडेसेंट

 ResourceApplyProximalGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input delta,
  const ResourceApplyProximalGradientDescent::Attrs & attrs
)

ऑपरेटर :: टेंसरफ़्लो :: ऑपरेशन

 operator::tensorflow::Operation() const 

सार्वजनिक स्थैतिक कार्य

उपयोग करना

Attrs UseLocking(
  bool x
)