tensorflow :: ops :: ApplyPowerSign
#include <training_ops.h>
AddSign 업데이트에 따라 '* var'를 업데이트합니다.
요약
m_t <-beta1 * m_ {t-1} + (1-beta1) * g update <-exp (logbase * sign_decay * sign (g) * sign (m_t)) * g 변수 <-변수-lr_t * 업데이트
인수 :
- 범위 : 범위 개체
- var : Variable ()에서 가져와야합니다.
- m : Variable ()에서 가져와야합니다.
- lr : 배율. 스칼라 여야합니다.
- logbase : 스칼라 여야합니다.
- sign_decay : 스칼라 여야합니다.
- 베타 : 스칼라 여야합니다.
- grad : 그래디언트입니다.
선택적 속성 ( Attrs
참조) :
- use_locking :
True
이면 var 및 m 텐서의 업데이트가 잠금으로 보호됩니다. 그렇지 않으면 동작이 정의되지 않지만 경합이 적을 수 있습니다.
보고:
-
Output
: "var"와 동일합니다.
생성자와 소멸자 | |
---|---|
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) |
공용 속성 | |
---|---|
operation | |
out |
공공 기능 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
공개 정적 함수 | |
---|---|
UseLocking (bool x) |
구조체 | |
---|---|
tensorflow :: ops :: ApplyPowerSign :: Attrs | ApplyPowerSign에 대한 선택적 속성 설정자. |
공용 속성
조작
Operation operation
밖
::tensorflow::Output out
공공 기능
ApplyPowerSign
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
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 )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const
공개 정적 함수
사용 잠금
Attrs UseLocking( bool x )