Function tvm::function::ffi::TVMArrayCopyToBytes [−][src]
pub unsafe extern "C" fn TVMArrayCopyToBytes(
handle: *mut DLTensor,
data: *mut c_void,
nbytes: u64
) -> i32
Expand description
\brief Copy array data to CPU byte array. \param handle The array handle. \param data the data pointer \param nbytes The number of bytes to copy. \return 0 when success, nonzero when failure happens