Function qnn_wrapper_api::deepCopyQnnTensors¶
Defined in File QnnWrapperUtils.hpp
Function Documentation¶
-
ModelError_t qnn_wrapper_api::deepCopyQnnTensors(Qnn_Tensor_t &source, Qnn_Tensor_t &destination)¶
Deep Copies QnnTensor_t structs to a pointer array destination location. Note: The copy will be stored on the heap and as such requires caller to make appropriate free call(s) using function below. Note 2: deepCopy is only done for metadata.
- Parameters
source – [in] tensor object to copy from
destination – [in] tensor object to copy to
- Returns
Error code