Forums - qsml: how to add bias in sconv_mm

2 posts / 0 new
Last post
qsml: how to add bias in sconv_mm
kungfuhuhu
Join Date: 23 Feb 17
Posts: 4
Posted: Thu, 2017-03-09 10:42

Hi,

I would like to do a spatial convolution with bias.

A bias value will be added to each value in an output plane. Each output plane have a different bias value.

How can I do this using QSML: sconv_mm?

The function takes a boolean bias option but it doesn't take any bias vector input. Should I put it in the filter? Or should the bias be added after sconv_mm function?

 

Regards

 

  • Up1
  • Down0
kungfuhuhu
Join Date: 23 Feb 17
Posts: 4
Posted: Thu, 2017-03-09 14:01

I figured out that you need to put the bias in the output array and set the boolean as true. Then the function updates (add) the output values upon the array.

 

 

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