Viewing model weights #8391
Answered
by
pranavsharma
andrew11221
asked this question in
Other Q&A
|
Is there a way to print certain weights from an onnx model through the ORT C/C++ API? |
Answered by
pranavsharma
Jul 14, 2021
Replies: 1 comment 4 replies
|
There's no C/C++ API to do so. The onnx model is simply a protobuf file. Just read it using any protobuf language binding and dump the weights. |
4 replies
Answer selected by
andrew11221
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's no C/C++ API to do so. The onnx model is simply a protobuf file. Just read it using any protobuf language binding and dump the weights.