MCPcopy Create free account
hub / github.com/BillHuang2001/evogit / load_vectors

Function load_vectors

python-impl/evogit/api.py:500–508  ·  view source on GitHub ↗
(config: EvoGitConfig, commits: list[str])

Source from the content-addressed store, hash-verified

498
499
500def load_vectors(config: EvoGitConfig, commits: list[str]) -> np.ndarray:
501 vectors = []
502 for commit in commits:
503 binary_data = git.read_file(config, commit, mode="binary")
504 with io.BytesIO(binary_data) as f:
505 vector = np.load(f)
506 vectors.append(vector)
507
508 return np.array(vectors)
509
510
511def vector_mutation(

Callers 1

vector_mutationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected