Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
96
def
data_to_buffer(data: Tensor) -> bytes:
97
return
type_sign(_contiguous_tensor_bytes(data),
"data"
)
98
99
100
def
primitive_to_bytes(value: Any) -> bytes:
Callers
2
serialize_and_dequeue_content_refs
Method · 0.90
recurse_container
Function · 0.85
Calls
2
type_sign
Function · 0.85
_contiguous_tensor_bytes
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…