code: def _compute_step(self, globalg):
      a = self.stepsize * (
          np.sqrt(1 - self.beta2**self.t) / (1 - self.beta1**self.t)
      )
      self.m = self.beta1 * self.m + (1 - self.beta1) * globalg
      self.v = self.beta2 * self.v + (1 - self.beta2) * (
          globalg * globalg
      )
      step = -a * self.m / (np.sqrt(self.v) + self.epsilon)
      return step
  
file_path: ray/rllib_contrib/es/src/rllib_es/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(globalg) and returns: step