QNN LPAI Predict
R2026bLibraries:
Embedded Coder Support Package for Qualcomm Hexagon Processors /
QNN
Description
The QNN LPAI Predict block predicts responses of a deep learning network represented as a QNN context binary for the LPAI backend of Qualcomm® AI Direct Engine based on the given input data.
You use the QNN LPAI Predict block to select a QNN context binary file
(.bin) that is optimized to run on LPAI backend for both x86-based
host simulations and target executions.
You can deploy the code generated using this block to one of these boards that are available under the Hardware board parameter in Configuration Parameters:
Qualcomm Android Board
Qualcomm Hexagon Android Board
The block also provides the option to dequantize outputs to single-precision, if required.
Examples
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 LPAI Predict"
Example: add_block("mwqnnlib/QNN LPAI Predict","myModel/myBlock",MakeNameUnique="on")
