Alternative to python API #6309
-
Hi! I am experimenting with ONNX. I am creating models programmatically, using the python API, for example the onnx.helper https://onnx.ai/onnx/api/helper.html Is there C++ interface for that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @brunocaballero, While ONNX itself doesn't have a dedicated C++ API for programmatic model creation like
Bottom line: No C++ equivalent of If it helped, let me know. Happy Coding! |
Beta Was this translation helpful? Give feedback.
-
ONNX models are protobufs, so you can create them directly from C++ using the low level protobuf API. It's possible to write higher level wrappers around that to get similar functionality, I've written one for Java but I'm not aware of a C++ one. |
Beta Was this translation helpful? Give feedback.
ONNX models are protobufs, so you can create them directly from C++ using the low level protobuf API. It's possible to write higher level wrappers around that to get similar functionality, I've written one for Java but I'm not aware of a C++ one.