Function tvm_rt::function::ffi::TVMArrayCopyToBytes   [−][src]
pub unsafe extern "C" fn TVMArrayCopyToBytes(
    handle: *mut DLTensor, 
    data: *mut c_void, 
    nbytes: u64
) -> i32Expand 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
