arrow_ipc::gen::SparseTensor

Function root_as_sparse_tensor_unchecked

Source
pub unsafe fn root_as_sparse_tensor_unchecked(buf: &[u8]) -> SparseTensor<'_>
Expand description

Assumes, without verification, that a buffer of bytes contains a SparseTensor and returns it.

ยงSafety

Callers must trust the given bytes do indeed contain a valid SparseTensor.