pub unsafe fn size_prefixed_root_as_sparse_tensor_unchecked(
buf: &[u8],
) -> SparseTensor<'_>
Expand description
Assumes, without verification, that a buffer of bytes contains a size prefixed SparseTensor and returns it.
§Safety
Callers must trust the given bytes do indeed contain a valid size prefixed SparseTensor
.