Function deepviewrt_sys::nn_tensor_copy
source · pub unsafe extern "C" fn nn_tensor_copy(
dest: *mut NNTensor,
source: *mut NNTensor
) -> NNErrorExpand description
Copies the contents of source tensor into destination tensor.
This operation only copies the data and does not affect the destination tensor’s properties. The destination tensor must have an equal or larger volume. If required data will be converted.
@public @memberof NNTensor @since 2.0