Function tvm_sys::ffi::TVMArrayCopyFromTo[][src]

pub unsafe extern "C" fn TVMArrayCopyFromTo(
    from: TVMArrayHandle,
    to: TVMArrayHandle,
    stream: TVMStreamHandle
) -> c_int
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