MCPcopy Create free account
hub / github.com/apache/tvm / __init__

Method __init__

python/tvm/rpc/proxy.py:149–152  ·  view source on GitHub ↗
(self, sock, addr)

Source from the content-addressed store, hash-verified

147 """Event driven TCP handler."""
148
149 def __init__(self, sock, addr):
150 super().__init__(sock)
151 self._init_handler()
152 self.addr = addr
153
154 def name(self):
155 return f"TCPSocketProxy:{self.addr[0]!s}:{self.rpc_key}"

Callers

nothing calls this directly

Calls 2

_init_handlerMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected