code: def _update_adamw(
      p, g, m, v, t, alpha, beta1, beta2, eps, wd, init_alpha
  ):
      eta_t = alpha / init_alpha
      alpha_t = alpha * np.sqrt(1.0 - beta2**t) / (1.0 - beta1**t)
      m[...] = beta1 * m + (1 - beta1) * g
      v[...] = beta2 * v + (1 - beta2) * g * g
      p[...] = p - alpha_t * m / (np.sqrt(v) + eps) - eta_t * wd * p
  
file_path: nnabla/python/test/solver/test_adamw.py
imports: import pytest
  import nnabla.solvers
  import numpy
  from solver_test_utils import solver_tester, RefSolver, MixinWeightDecayFused
  from nbla_test_utils import list_context
label_desc: Use image node_id 1 for calling a global function with example usage: _update_adamw(p, g, m, v, t, alpha, beta1, beta2, eps, wd, init_alpha) without return types