MCPcopy
hub / github.com/marimo-team/marimo / data_to_buffer

Function data_to_buffer

marimo/_save/encode.py:96–97  ·  view source on GitHub ↗
(data: Tensor)

Source from the content-addressed store, hash-verified

94
95
96def data_to_buffer(data: Tensor) -> bytes:
97 return type_sign(_contiguous_tensor_bytes(data), "data")
98
99
100def primitive_to_bytes(value: Any) -> bytes:

Callers 2

recurse_containerFunction · 0.85

Calls 2

type_signFunction · 0.85
_contiguous_tensor_bytesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…