tensorflow :: ops :: ResourceApplyProximalGradientDescent
#include <training_ops.h>
Sabit öğrenme oranına sahip FOBOS algoritması olarak '* var'ı güncelleyin.
Özet
prox_v = var - alpha * delta var = işaret (prox_v) / (1 + alpha * l2) * max {| prox_v | -alpha * l1,0}
Argümanlar:
- kapsam: Bir Scope nesnesi
- var: Değişken () 'den olmalıdır.
- alfa: Ölçekleme faktörü. Skaler olmalı.
- l1: L1 düzenlenmesi. Skaler olmalı.
- l2: L2 düzenlenmesi. Skaler olmalı.
- delta: Değişim.
İsteğe bağlı özellikler (bkz. Attrs
):
- use_locking: True ise, çıkarma bir kilitle korunacaktır; aksi takdirde davranış tanımsızdır, ancak daha az çekişme gösterebilir.
İadeler:
- oluşturulan
Operation
Yapıcılar ve Yıkıcılar | |
---|---|
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) |
Genel özellikler | |
---|---|
operation |
Kamusal işlevler | |
---|---|
operator::tensorflow::Operation () const |
Genel statik işlevler | |
---|---|
UseLocking (bool x) |
Yapılar | |
---|---|
tensorflow :: ops :: ResourceApplyProximalGradientDescent :: Attrs | ResourceApplyProximalGradientDescent için isteğe bağlı öznitelik ayarlayıcıları. |
Genel özellikler
operasyon
Operation operation
Kamusal işlevler
ResourceApplyProximalGradientDescent
ResourceApplyProximalGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input delta )
ResourceApplyProximalGradientDescent
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 :: İşlem
operator::tensorflow::Operation() const
Genel statik işlevler
Kullanım Kilitleme
Attrs UseLocking( bool x )