open Model
Opens the speech recognition model files.
To run Whisper on the Qualcomm NPU (QNN), pass the same .qnn package as both encoderPath and decoderPath. modelType must match the package. Bundle libailia_speech_qnn.so and the Qualcomm QNN runtime libraries (libQnnHtp.so, libQnnSystem.so, libQnnHtpV
Return
0 if successful, otherwise an error code.
Parameters
encoder Path
Path to the encoder model file.
decoder Path
Path to the decoder model file.
model Type
Type of the model, one of the AILIA_SPEECH_MODEL_TYPE_* constants.