{ }
Update '*var' according to the AddSign update.
tf.raw_ops.ResourceApplyAddSign(
var, m, lr, alpha, sign_decay, beta, grad, use_locking=False, name=None
)
mt <- beta1 * m{t-1} + (1 - beta1) * g update <- (alpha + sign_decay * sign(g) *sign(m)) * g variable <- variable - lr_t * update
Returns | |
---|---|
The created Operation. |