Skip to main content

tract_tensor_dump

Function tract_tensor_dump 

Source
pub unsafe extern "C" fn tract_tensor_dump(
    tensor: *const TractTensor,
    spec: *mut *mut c_char,
) -> TRACT_RESULT
Expand description

Write a tensor as a debug string

The returned string must be freed by the caller using tract_free_cstring.