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

Method _deactivate

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

Source from the content-addressed store, hash-verified

81 self._all_wrappers.append((mod, fn, func))
82
83 def _deactivate(self):
84 for mod, fn, func in self._all_wrappers:
85 utils.set_func(mod, fn, func)
86 self._all_wrappers = []
87
88 @property
89 def has_cache(self):

Callers 1

resetFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected