Function arrow_ipc::gen::Tensor::root_as_tensor_unchecked

source ·
pub unsafe fn root_as_tensor_unchecked(buf: &[u8]) -> Tensor<'_>
Expand description

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

§Safety

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