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

Method _cb

python/tvm/rpc/tracker.py:282–290  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

280 priority = args[3]
281
282 def _cb(value):
283 # if the connection is already closed
284 if not self._sock:
285 return False
286 try:
287 self.ret_value([TrackerCode.SUCCESS, value])
288 except OSError:
289 return False
290 return True
291
292 self._tracker.request(key, user, priority, _cb)
293 elif code == TrackerCode.PING:

Callers

nothing calls this directly

Calls 1

ret_valueMethod · 0.95

Tested by

no test coverage detected