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

Method close

imperative/python/megengine/data/tools/_queue.py:183–188  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

181 self.client.disconnect()
182
183 def close(self):
184 self.queue.close()
185 self.disconnect_client()
186 global MGE_PLASMA_STORE_MANAGER
187 MGE_PLASMA_STORE_MANAGER.refcount -= 1
188 _clear_plasma_store()
189
190 def cancel_join_thread(self):
191 self.queue.cancel_join_thread()

Callers 10

releaseMethod · 0.45
decoratorFunction · 0.45
_shutdown_workersMethod · 0.45
_worker_loopFunction · 0.45
parse_idx3Function · 0.45
parse_idx1Function · 0.45
mkstempFunction · 0.45
init_tensorFunction · 0.45

Calls 2

disconnect_clientMethod · 0.95
_clear_plasma_storeFunction · 0.85

Tested by 1

mkstempFunction · 0.36