Function arrow_ipc::gen::SparseTensor::size_prefixed_root_as_sparse_tensor
source ยท pub fn size_prefixed_root_as_sparse_tensor(
buf: &[u8],
) -> Result<SparseTensor<'_>, InvalidFlatbuffer>
Expand description
Verifies that a buffer of bytes contains a size prefixed
SparseTensor
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
size_prefixed_root_as_sparse_tensor_unchecked
.