Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
root_as_tensor_with_opts in datafusion::common::arrow::ipc - Rust
[go: Go Back, main page]

Function root_as_tensor_with_opts

Source
pub fn root_as_tensor_with_opts<'b, 'o>(
    opts: &'o VerifierOptions,
    buf: &'b [u8],
) -> Result<Tensor<'b>, InvalidFlatbuffer>
Expand description

Verifies, with the given options, that a buffer of bytes contains a Tensor 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 root_as_tensor_unchecked.