class_docstr: State for simple Python objects.
  
  Every object is specified as a keyword argument, and will be assigned as an attribute.
  
  Args:
      bcast_object: Horovod broadcast object function used to sync state dictionary.
      get_rank: Horovod rank function used to identify is this process is the coordinator.
      kwargs: Properties to sync, will be exposed as attributes of the object.
class_docstr_tok: ["State","for","simple","Python","objects",".","Every","object","is","specified","as","a","keyword","argument",",","and","will","be","assigned","as","an","attribute",".","Args",":","bcast_object",":","Horovod","broadcast","object","function","used","to","sync","state","dictionary",".","get_rank",":","Horovod","rank","function","used","to","identify","is","this","process","is","the","coordinator",".","kwargs",":","Properties","to","sync",",","will","be","exposed","as","attributes","of","the","object","."]
code: def restore(self):
      self._set_attrs()
  
imports: import functools
  import queue
  from horovod.common.exceptions import HorovodInternalError, HostsUpdatedInterrupt
  from horovod.runner.elastic.worker import HostUpdateResult, WorkerNotificationManager
label_desc: Use image node_id 3 for calling the ObjectState obj's underlying member method code with example usage: obj.restore() without return types