Forums - Storing any tensor into a USERBUFFER tensor

3 posts / 0 new
Last post
Storing any tensor into a USERBUFFER tensor
22imonreal
Join Date: 10 Feb 21
Posts: 80
Posted: Thu, 2021-08-19 03:27

How can one store a tensor into one USERBUFFER tensor?
Can you provide an example code?
Thanks in advance.

  • Up0
  • Down0
jlowman
Join Date: 25 Aug 21
Posts: 16
Posted: Wed, 2021-08-25 19:54

Snapdragon Neural Processing Engine SDK: Performance Tips (qualcomm.com)

Were you looking for something like this above?

 

Or were you trying to use the java USERBUFFERTENSOR

Snapdragon Neural Processing Engine SDK: Java (qualcomm.com)

 

I am trying to find some additional information.

  • Up0
  • Down0
22imonreal
Join Date: 10 Feb 21
Posts: 80
Posted: Mon, 2021-09-06 03:35

Hello, yes, I was hoping to find an example of copying an Opencv cv::Mat or C++ vector into a USERBUFFER tesnor to then feed into the SNPE model. Have you found any additional information?

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.