code: def _compute_step(self, global_g):
      a = self.stepsize * (
          np.sqrt(1 - self.beta2**self.t) / (1 - self.beta1**self.t)
      )
      self.m = self.beta1 * self.m + (1 - self.beta1) * global_g
      self.v = self.beta2 * self.v + (1 - self.beta2) * (
          global_g * global_g
      )
      step = -a * self.m / (np.sqrt(self.v) + self.epsilon)
      return step
  
file_path: PARL/examples/ES/optimizers.py
imports: import numpy
label_desc: Use image node_id 2 for calling the Adam obj's underlying member method code with example usage: obj._compute_step(global_g) and returns: step