MCPcopy Create free account
hub / github.com/apache/singa / __start_rank_pairing

Method __start_rank_pairing

examples/hfl/src/client.py:83–85  ·  view source on GitHub ↗

Sending global rank to server

(self)

Source from the content-addressed store, hash-verified

81 self.sock.connect((self.host, self.port))
82
83 def __start_rank_pairing(self) -> None:
84 """Sending global rank to server"""
85 utils.send_int(self.sock, self.global_rank)
86
87 def start(self) -> None:
88 """Start the client.

Callers 1

startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected