MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / _clear_cache

Method _clear_cache

PATH/core/fp16/amp.py:76–77  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 self._is_active = True
75
76 def _clear_cache(self):
77 self._cache.clear()
78
79 # Experimental support for saving / restoring uncasted versions of functions
80 def _save_func(self, mod, fn, func):

Callers 2

_clear_cacheFunction · 0.80
stepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected