MCPcopy Create free account
hub / github.com/LUMIA-Group/MemoryDecoder / from_string

Method from_string

knn_utils/saveEmbedMulti.py:30–34  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

28
29 @staticmethod
30 def from_string(s):
31 try:
32 return DIST[s.lower()]
33 except KeyError:
34 raise ValueError()
35
36class KEY_TYPE(Enum):
37 last_ffn_input = auto()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected