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