code: def update_from_moments(self, batch_mean, batch_var, batch_count):
      delta = batch_mean - self.mean
      tot_count = self.count + batch_count
  
      new_mean = self.mean + delta * batch_count / tot_count
      m_a = self.var * self.count
      m_b = batch_var * batch_count
      m_2 = (
          m_a
          + m_b
          + np.square(delta)
          * self.count
          * batch_count
          / (self.count + batch_count)
      )
      new_var = m_2 / (self.count + batch_count)
  
      new_count = batch_count + self.count
  
      self.mean = new_mean
      self.var = new_var
      self.count = new_count
  
imports: import numpy
label_desc: Use image node_id 3 for calling the RunningMeanStd obj's underlying member method code with example usage: obj.update_from_moments(batch_mean, batch_var, batch_count) without return types