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

Method __start_connection

examples/hfl/src/client.py:79–81  ·  view source on GitHub ↗

Start the network connection to server.

(self)

Source from the content-addressed store, hash-verified

77 self.weights = {}
78
79 def __start_connection(self) -> None:
80 """Start the network connection to server."""
81 self.sock.connect((self.host, self.port))
82
83 def __start_rank_pairing(self) -> None:
84 """Sending global rank to server"""

Callers 1

startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected