tensor akışı:: işlem:: ResourceApplyPowerSign

#include <training_ops.h>

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

Özet

m_t <- beta1 * m_{t-1} + (1 - beta1) * g güncelleme <- exp(logbase *sign_decay *sign(g) *sign(m_t)) * g değişkeni <- değişken - lr_t * güncelleme

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • var: Bir Variable()'dan olmalıdır.
  • m: Bir Variable()'dan olmalıdır.
  • lr: Ölçeklendirme faktörü. Bir skaler olmalı.
  • logtaban: Skaler olmalı.
  • sign_decay: Skaler olmalı.
  • beta: Skaler olmalı.
  • grad: Gradyan.

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

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

İadeler:

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

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

Genel özellikler

operation

Kamu işlevleri

operator::tensorflow::Operation () const

Genel statik işlevler

UseLocking (bool x)

Yapılar

tensorflow:: ops:: ResourceApplyPowerSign:: Öznitelikler

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

Genel özellikler

operasyon

Operation operation

Kamu işlevleri

ResourceApplyPowerSign

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

ResourceApplyPowerSign

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

operatör::tensorflow::İşlem

 operator::tensorflow::Operation() const 

Genel statik işlevler

KullanımKilitleme

Attrs UseLocking(
  bool x
)