class_docstr: Generic gossip averaging object for multi-peer communication
  
  Args:
      msg (torch.Tensor): message used to initialize recv buffer
      graph (GraphManager): Subclass of GraphManager
      device: (torch.Device) device on which to initialize recv buffer
      mixing (MixingManager): Subclass of MixingManager
      logger (logging.Logger): Module used to log results
      rank (int): Rank of the current process
      world_size (int): World size of the current process
class_docstr_tok: ["Generic","gossip","averaging","object","for","multi-peer","communication","Args",":","msg","(","torch.Tensor",")",":","message","used","to","initialize","recv","buffer","graph","(","GraphManager",")",":","Subclass","of","GraphManager","device",":","(","torch.Device",")","device","on","which","to","initialize","recv","buffer","mixing","(","MixingManager",")",":","Subclass","of","MixingManager","logger","(","logging.Logger",")",":","Module","used","to","log","results","rank","(","int",")",":","Rank","of","the","current","process","world_size","(","int",")",":","World","size","of","the","current","process"]
code: def ps_weight(self) -> torch.Tensor:
      return self._ps_weight
  
imports: from enum import Enum
  import logging
  from typing import Iterator, List, Optional, Tuple, cast
  import torch
  import torch.distributed
  from .graph_manager import GraphManager
  from .mixing_manager import MixingManager, UniformMixing
label_desc: Use image node_id 2 for calling the Gossiper obj's underlying member method code with example usage: obj.ps_weight() and returns: self