Function tvm::runtime::CopyFromTo

Function tvm::runtime::CopyFromTo#

Function Documentation#

void tvm::runtime::CopyFromTo(ffi::TensorView source, ffi::TensorView destination, TVMStreamHandle stream = nullptr)#

Copy between existing tensors with exactly matching byte sizes.

Note

The copy may be asynchronous. The caller owns stream synchronization.