code: def _update_rmsprop_graves(
      p, grad, n, g, d, lr, decay, momentum, eps
  ):
      n[...] = n * decay + grad * grad * (1 - decay)
      g[...] = g * decay + grad * (1 - decay)
      d[...] = d * momentum - lr * grad / np.sqrt(n - g * g + eps)
      p[...] = p + d
  
file_path: nnabla/python/test/solver/test_rmsprop_graves.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_rmsprop_graves(p, grad, n, g, d, lr, decay, momentum, eps) without return types