onnxruntime
a8c313de - [QNN EP] Python script to modify Onnx model to make it aligned with converted QNN model (#16423)

Commit
2 years ago
[QNN EP] Python script to modify Onnx model to make it aligned with converted QNN model (#16423) Python script to modify Onnx model to make it aligned with converted QNN model ### Description Onnxruntime QNN EP can support context binary file generated by QNN tool chain. However QNN generated context binary file uses channel last and 8 bits or 16 bits for input and output. This script get the QNN model input & output information from QNN converted model_net.json file, and insert Cast, Transpose nodes to Onnx model if required.
Author
Parents
Loading