QNN LPAI Predict
Libraries:
Embedded Coder Support Package for Qualcomm Hexagon
Processors /
Hexagon /
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.
To add the block to your Simulink model, open the model (for example,
myQNNModel), and enter this command at the MATLAB
prompt:
add_block("mwqnnlib/QNN LPAI Predict","myQNNModel/QNN LPAI Predict")
The block allows you to select a QNN model as a compiled shared object (.so) for running on x86-based host. For the target, you can select a QNN context binary file (.bin) that is optimized to run on LPAI backend.
The code generated using this block can be deployed to Qualcomm Android Board that is available under the Hardware board parameter in Configuration Parameters.
The block also provides the option to dequantize outputs to single-precision, if required.
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2025b