docstr: syncronize the MPI threads
docstr_tok: ["syncronize","the","MPI","threads"]
code: def sync(self):
      """
      syncronize the MPI threads
      """
      theta = self.getflat()
      self.comm.Bcast(theta, root=0)
      self.setfromflat(theta)
  
file_path: stable-baselines/stable_baselines/common/mpi_adam.py
imports: import tensorflow
  import numpy
  import mpi4py
  import stable_baselines.common.tf_util
label_desc: Use image node_id 3 for calling the MpiAdam obj's underlying member method code with example usage: obj.sync() without return types