pytc.tc.invalidate_isdf_device_cache¶
- pytc.tc.invalidate_isdf_device_cache(instance=None)[source]¶
Manually evict ISDFTC device-cache entries.
Without arguments, clears the entire cache (every instance, every device). With an ISDFTC instance, evicts only that instance’s entries — useful for releasing a known-stale set of buffers ahead of GC.
Equivalent to the automatic
weakref.finalizepath, but available for callers that want explicit lifecycle control.