Google I/O'yu ayarladığınız için teşekkür ederiz. İsteğe bağlı olarak tüm oturumları görüntüleyin İsteğe bağlı olarak izleyin

tensorflow :: ops :: ResourceApplyAddSign

#include <training_ops.h>

AddSign güncellemesine göre '* var'ı güncelleyin.

Özet

m_t <- beta1 * m_ {t-1} + (1 - beta1) * g güncelleme <- (alfa + işaret_decay * işareti (g) * işaret (m)) * g değişkeni <- değişken - lr_t * güncelleme

Argümanlar:

  • kapsam: Bir Scope nesnesi
  • var: Bir Değişken () 'den olmalıdır.
  • m: Bir Değişken () 'den olmalıdır.
  • lr: Ölçekleme faktörü. Skaler olmalı.
  • alpha: Skaler olmalıdır.
  • sign_decay: Skaler olmalıdır.
  • beta: Skaler olmalıdır.
  • grad: Gradyan.

İsteğe bağlı özellikler (bkz. Attrs ):

  • use_locking: True ise, var ve m tensörlerin güncellenmesi bir kilit ile korunur; aksi takdirde davranış tanımsızdır, ancak daha az çekişme gösterebilir.

İadeler:

Yapıcılar ve Yıkıcılar

ResourceApplyAddSign (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input m, :: tensorflow::Input lr, :: tensorflow::Input alpha, :: tensorflow::Input sign_decay, :: tensorflow::Input beta, :: tensorflow::Input grad)
ResourceApplyAddSign (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input m, :: tensorflow::Input lr, :: tensorflow::Input alpha, :: tensorflow::Input sign_decay, :: tensorflow::Input beta, :: tensorflow::Input grad, const ResourceApplyAddSign::Attrs & attrs)

Genel özellikler

operation

Kamusal işlevler

operator::tensorflow::Operation () const

Genel statik işlevler

UseLocking (bool x)

Yapılar

tensorflow :: ops :: ResourceApplyAddSign :: Attrs

ResourceApplyAddSign için isteğe bağlı öznitelik ayarlayıcıları.

Genel özellikler

operasyon

Operation operation

Kamusal işlevler

ResourceApplyAddSign

 ResourceApplyAddSign(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input m,
  ::tensorflow::Input lr,
  ::tensorflow::Input alpha,
  ::tensorflow::Input sign_decay,
  ::tensorflow::Input beta,
  ::tensorflow::Input grad
)

ResourceApplyAddSign

 ResourceApplyAddSign(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input m,
  ::tensorflow::Input lr,
  ::tensorflow::Input alpha,
  ::tensorflow::Input sign_decay,
  ::tensorflow::Input beta,
  ::tensorflow::Input grad,
  const ResourceApplyAddSign::Attrs & attrs
)

operator :: tensorflow :: İşlem

 operator::tensorflow::Operation() const 

Genel statik işlevler

KullanımKilitleme

Attrs UseLocking(
  bool x
)