QNN DSP Predict
R2026bLibraries:
Embedded Coder Support Package for Qualcomm Hexagon Processors /
QNN
Description
The QNN DSP Predict block predicts responses of a deep learning network represented as a QNN model for the DSP backend of Qualcomm® AI Direct Engine based on the given input data.
You use the QNN DSP Predict block to select a QNN model as a compiled
shared object (.so) for running on a x86-based host. For the target, you
can select a compiled shared object (.so) that is optimized to run on DSP
backend. The Simulink® model with this block can be deployed to Qualcomm Android Board that is available as supported board in the support
package.
The code generated using this block can be deployed to one of these boards that are available under the Hardware board parameter in Configuration Parameters:
Qualcomm Android Board
Qualcomm Linux Board
The block also provides the option to dequantize outputs to single-precision, if required.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"mwqnnlib/QNN DSP Predict"
Example: add_block("mwqnnlib/QNN DSP Predict","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2026a