Function tvm::runtime::function::ffi::TVMArrayCopyFromTo[][src]

pub unsafe extern "C" fn TVMArrayCopyFromTo(
    from: *mut DLTensor,
    to: *mut DLTensor,
    stream: *mut c_void
) -> i32
Expand description

\brief Copy the array, both from and to must be valid during the copy. \param from The array to be copied from. \param to The target space. \param stream The stream where the copy happens, can be NULL. \return 0 when success, nonzero when failure happens