MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / get

Method get

imperative/python/megengine/utils/future.py:15–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 self.ack.wait()
14
15 def get(self):
16 self.ready.wait()
17 if self.ack:
18 self.ack.set()
19 return self.value

Callers 15

__init__Method · 0.45
__init__Method · 0.45
record_opnodeMethod · 0.45
__init__Method · 0.45
__del__Method · 0.45
_find_cuda_root_dirFunction · 0.45
_find_cudnn_root_dirFunction · 0.45
_get_build_dirFunction · 0.45
get_versionMethod · 0.45

Calls 2

waitMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected