MCPcopy Create free account
hub / github.com/ScalingIntelligence/tokasaurus / encode_array

Function encode_array

tokasaurus/server/utils.py:642–643  ·  view source on GitHub ↗
(array: np.ndarray)

Source from the content-addressed store, hash-verified

640
641
642def encode_array(array: np.ndarray):
643 return base64.b64encode(array.tobytes()).decode("ascii")
644
645
646def make_completions_fingerprint(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected