MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / del_weakref

Function del_weakref

tensorpack/dataflow/parallel.py:84–87  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

82
83
84def del_weakref(x):
85 o = x()
86 if o is not None:
87 o.__del__()
88
89
90@contextmanager

Callers

nothing calls this directly

Calls 1

__del__Method · 0.45

Tested by

no test coverage detected