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

Method release

imperative/python/megengine/utils/custom_op_tools.py:617–621  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

615 time.sleep(self.wait_seconds)
616
617 def release(self):
618 if self.fd is not None:
619 os.close(self.fd)
620
621 os.remove(self.lock_file_path)
622
623
624#####################################################################

Callers 15

buildFunction · 0.95
test_basicFunction · 0.45
py_applyFunction · 0.45
_detailMethod · 0.45
shapeMethod · 0.45
dtypeMethod · 0.45
deviceMethod · 0.45
formatMethod · 0.45
numpyMethod · 0.45
detachMethod · 0.45
_dev_tensorMethod · 0.45
value_idMethod · 0.45

Calls 2

closeMethod · 0.45
removeMethod · 0.45

Tested by 1

test_basicFunction · 0.36