Forums - SNPE matrix multiplication

3 posts / 0 new
Last post
SNPE matrix multiplication
ktjktj0911
Join Date: 2 Jan 23
Posts: 14
Posted: Thu, 2023-04-13 01:11

Hello,

While testing layers one by one, I have found out that matrix multiplication does not run on DSP.

Thus, I have tried to mimic matrix multiplication by using conv 1x1 by setting the weights, but failed.

Is there way to run matrix multiplication on DSP device?

Thank you

  • Up0
  • Down0
weihuan
Join Date: 12 Apr 20
Posts: 270
Posted: Sun, 2023-04-16 06:40

Dear developer,

What's SNPE version you've tested for this application?

BTW, SNPE supported Mul ops inside SDK.


BR.
Wei

  • Up0
  • Down0
ktjktj0911
Join Date: 2 Jan 23
Posts: 14
Posted: Sun, 2023-04-16 18:02

Hello,

I am currently working on 1.66 version.

Operation I want to do is matrix multiplication where I multiply matrix A and matrix B. (Both A and B are input and there is no learnable weights)

On SNPE Layer support page (Snapdragon Neural Processing Engine SDK: Supported Network Layers (qualcomm.com)), It only has element-wise multiplication and dense layer (Only inputs single matrix and multiply with weights).

Could you please help me to run matrix multiplcation on DSP?

Thank you

 

Best regards,

ktj

  • 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.