code: def synchronize(self, local_sum, local_sumsq, local_count, root=None):
      local_sum[...] = self._mpi_average(local_sum)
      local_sumsq[...] = self._mpi_average(local_sumsq)
      local_count[...] = self._mpi_average(local_count)
      return local_sum, local_sumsq, local_count
  
file_path: baselines/baselines/her/normalizer.py
imports: import threading
  import numpy
  from mpi4py import MPI
  import tensorflow
  from baselines.her.util import reshape_for_broadcasting
label_desc: Use image node_id 6 for calling the Normalizer obj's underlying member method code with example usage: obj.synchronize(local_sum, local_sumsq, local_count, root) and returns: local_sum,  local_sumsq,  local_count