tensorflow::ops::AppliquerPowerSign

#include <training_ops.h>

Mettez à jour '*var' conformément à la mise à jour d'AddSign.

Résumé

m_t <- beta1 * m_{t-1} + (1 - beta1) * g mise à jour <- exp(logbase * sign_decay * sign(g) * sign(m_t)) * g variable <- variable - lr_t * mise à jour

Arguments :

  • portée : un objet Scope
  • var : Doit provenir d'une Variable().
  • m : Doit provenir d'une variable().
  • lr : Facteur d’échelle. Doit être un scalaire.
  • logbase : doit être un scalaire.
  • décroissance du signe : doit être un scalaire.
  • bêta : doit être un scalaire.
  • grad : Le gradient.

Attributs optionnels (voir Attrs ) :

  • use_locking : Si True , la mise à jour des tenseurs var et m est protégée par un verrou ; sinon, le comportement est indéfini, mais peut présenter moins de contention.

Retours :

  • Output : Identique à « var ».

Constructeurs et destructeurs

ApplyPowerSign (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)
ApplyPowerSign (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 ApplyPowerSign::Attrs & attrs)

attributs publics

operation
out

fonctions publiques

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

fonctions statiques publiques

UseLocking (bool x)

Structures

tensorflow::ops::AppliquerSignaturePuissance::Attrs

Définiteurs d'attributs optionnels pour ApplyPowerSign .

attributs publics

opération

Operation operation

dehors

::tensorflow::Output out

fonctions publiques

AppliquerPowerSign

 ApplyPowerSign(
  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
)

AppliquerPowerSign

 ApplyPowerSign(
  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 ApplyPowerSign::Attrs & attrs
)

nœud

::tensorflow::Node * node() const 

opérateur::tensorflow::Entrée

 operator::tensorflow::Input() const 

opérateur::tensorflow::Sortie

 operator::tensorflow::Output() const 

fonctions statiques publiques

Utiliser le verrouillage

Attrs UseLocking(
  bool x
)