MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / _batch_embeddings

Method _batch_embeddings

examples/server/server.py:1411–1412  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1409 self.batch.n_tokens = 0
1410
1411 def _batch_embeddings(self) -> np.ndarray:
1412 return self.batch_embeddings
1413
1414 def _set_batch_embedding_row(
1415 self,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected