class_docstr: State representation used for tracking in memory state across workers.
  
  Args:
      bcast_object: Function used to broadcast a variable from rank 0 to the other workers.
      get_rank: Function that returns the current rank of this worker.
class_docstr_tok: ["State","representation","used","for","tracking","in","memory","state","across","workers",".","Args",":","bcast_object",":","Function","used","to","broadcast","a","variable","from","rank","0","to","the","other","workers",".","get_rank",":","Function","that","returns","the","current","rank","of","this","worker","."]
docstr: Saves state to host memory.
docstr_tok: ["Saves","state","to","host","memory","."]
code: def save(self):
      """Saves state to host memory."""
      raise NotImplementedError()
  
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 7 for calling the State obj's underlying member method code with example usage: obj.save() without return types