by antimora · 3y ago · 0 comments
In my opinion, ONNX is more complex than necessary. Therefore, I opted to convert it to an intermediate representation (IR) first, which is then used to generate source code. A key advantage of this approach is the ease of merging nodes into corresponding operations, since ONNX and Burn don't share the same set of operators.
ONNX is 100% more complex than necessary. Another format of interest is NNEF: https://www.khronos.org/nnef