MCPcopy
hub / github.com/MinishLab/semble / load

Method load

src/semble/index/dense.py:99–102  ·  view source on GitHub ↗

Load a selectable basic backend.

(cls, path: Path)

Source from the content-addressed store, hash-verified

97
98 @classmethod
99 def load(cls, path: Path) -> "SelectableBasicBackend":
100 """Load a selectable basic backend."""
101 loaded = super().load(path)
102 return SelectableBasicBackend(loaded.vectors, loaded.arguments)

Callers 3

get_validated_cacheFunction · 0.80
load_from_diskMethod · 0.80
test_save_load_roundtripFunction · 0.80

Calls 1

Tested by 1

test_save_load_roundtripFunction · 0.64