Skip to main content

tract_tensor_as_bytes

Function tract_tensor_as_bytes 

Source
pub unsafe extern "C" fn tract_tensor_as_bytes(
    tensor: *mut TractTensor,
    datum_type: *mut DatumType,
    rank: *mut usize,
    shape: *mut *const usize,
    data: *mut *const c_void,
) -> TRACT_RESULT
Expand description

Inspect part of a tensor. Except tensor, all argument pointers can be null if only some specific bits are required.