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

Method __init__

PATH/core/fp16/amp.py:60–65  ·  view source on GitHub ↗
(self, enable_caching=True, verbose=False)

Source from the content-addressed store, hash-verified

58
59class AmpHandle(object):
60 def __init__(self, enable_caching=True, verbose=False):
61 self._enable_caching = enable_caching
62 self._verbose = verbose
63 self._cache = dict()
64 self._is_active = True
65 self._all_wrappers = []
66
67 def is_active(self):
68 return self._is_active

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected