MCPcopy Create free account
hub / github.com/InternRobotics/G2VLM / __init__

Method __init__

eval_code/recons/models/moge/utils/tools.py:155–162  ·  view source on GitHub ↗
(self, name: str = None, verbose: bool = True, average: bool = False)

Source from the content-addressed store, hash-verified

153 _history: Dict[str, List['timeit']] = {}
154
155 def __init__(self, name: str = None, verbose: bool = True, average: bool = False):
156 self.name = name
157 self.verbose = verbose
158 self.start = None
159 self.end = None
160 self.average = average
161 if average and name not in timeit._history:
162 timeit._history[name] = []
163
164 def __call__(self, func: Callable):
165 import inspect

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected