code: def push(self, x):
      x = np.asarray(x)
      # Unvectorized update of the running statistics.
      if x.shape != self._M.shape:
          raise ValueError(
              "Unexpected input shape {}, expected {}, value = {}".format(
                  x.shape, self._M.shape, x
              )
          )
      n1 = self._n
      self._n += 1
      if self._n == 1:
          self._M[...] = x
      else:
          delta = x - self._M
          self._M[...] += delta / self._n
          self._S[...] += delta * delta * n1 / self._n
  
imports: import numpy
label_desc: Use image node_id 3 for calling the RunningStat obj's underlying member method code with example usage: obj.push(x) without return types