code: def _temp_process_set_object(process_set_id: int) -> ProcessSet:
      """For Horovod-internal usage where we don't have a ProcessSet instance at hand but know a valid process_set_id."""
      ps = ProcessSet.__new__(ProcessSet)
      ps.process_set_id = process_set_id
      return ps
  
file_path: horovod/horovod/common/process_sets.py
imports: from typing import *
  from horovod.common.util import is_iterable
label_desc: Use image node_id 1 for calling a global function with example usage: _temp_process_set_object(process_set_id) and returns: ps