How can I add metadata to an onnx file I want to export?

3 views (last 30 days)
I am using the exportONNXNetwork function to export a DAGNetwork to an onnx file, but the only metadata it has an option to add is the network name, and I don't even seem to be able to import it back. How can I add information regarding licnesing, etc.?

Answers (1)

Pratheek Punchathody
Pratheek Punchathody on 7 Apr 2021
Right now Mathworks supports adding "Network Name" and "Version of ONNX operator set" as a Name-Value Pair Argument. Other meta data information cannot be added when exporting to an ONNX file.This is an enhancement request and is already known. I have brought this issue to the concerned people and it might be considered in any future release.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!