MCPcopy
hub / github.com/jundot/omlx / items

Method items

omlx/oq.py:1363–1372  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1361 return iter(self._plan)
1362
1363 def items(self):
1364 # Yield (key, shape_proxy) for the quantize loop shape inspection
1365 class _SP:
1366 __slots__ = ("shape", "ndim")
1367
1368 def __init__(self, sh):
1369 self.shape = tuple(sh)
1370 self.ndim = len(self.shape)
1371
1372 return ((k, _SP(info["shape"])) for k, info in self._plan.items())
1373
1374 def nbytes(self):
1375 return self._lazy.nbytes()

Callers 15

parse_sizeFunction · 0.45
from_dictMethod · 0.45
_loadMethod · 0.45
_saveMethod · 0.45
set_settingsMethod · 0.45
get_default_model_idMethod · 0.45
get_pinned_model_idsMethod · 0.45
get_all_settingsMethod · 0.45
_load_profilesMethod · 0.45
apply_profileMethod · 0.45
_load_templatesMethod · 0.45
filter_universal_fieldsFunction · 0.45

Calls 1

_SPClass · 0.85