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