parameters: (self, obj)
return_statement: return self._node_type_comm.all_gather(obj)
docstring: gather between all workers
docstring_summary: gather between all workers
docstring_tokens: gather between all workers
function: def _worker_gather(self, obj):
          """
          gather between all workers
          """
          if not self._role_is_generated:
              self.generate_role()
          if not self.is_worker():
              return None
          self._barrier_worker()
          return self._node_type_comm.all_gather(obj)
function_tokens: def _worker_gather ( self , obj ) : if not self . _role_is_generated : self . generate_role ( ) if not self . is_worker ( ) : return None self . _barrier_worker ( ) return self . _node_type_comm . all_gather ( obj )