MCPcopy Index your code
hub / github.com/apache/tvm / __init__

Method __init__

python/tvm/rpc/proxy.py:621–651  ·  view source on GitHub ↗
(
        self,
        host,
        port=9091,
        port_end=9199,
        web_port=0,
        timeout_client=600,
        timeout_server=600,
        tracker_addr=None,
        index_page=None,
        resource_files=None,
    )

Source from the content-addressed store, hash-verified

619 """
620
621 def __init__(
622 self,
623 host,
624 port=9091,
625 port_end=9199,
626 web_port=0,
627 timeout_client=600,
628 timeout_server=600,
629 tracker_addr=None,
630 index_page=None,
631 resource_files=None,
632 ):
633 self.proc = PopenWorker()
634 # send the function
635 self.proc.send(
636 _popen_start_proxy_server,
637 [
638 host,
639 port,
640 port_end,
641 web_port,
642 timeout_client,
643 timeout_server,
644 tracker_addr,
645 index_page,
646 resource_files,
647 ],
648 )
649 # receive the port
650 self.port = self.proc.recv()
651 self.host = host
652
653 def terminate(self):
654 """Terminate the server process"""

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 3

PopenWorkerClass · 0.90
sendMethod · 0.80
recvMethod · 0.80

Tested by

no test coverage detected