cavis/.old/contrib/codegen-tools/onnx-def-gen
Brian Rosenberger 205252e5a9 Add jenkinsfile for pipeline build and dockerfile for build 2023-04-17 10:36:58 +02:00
..
README.md Add jenkinsfile for pipeline build and dockerfile for build 2023-04-17 10:36:58 +02:00
lenet.onnx Add jenkinsfile for pipeline build and dockerfile for build 2023-04-17 10:36:58 +02:00
onnx-op-defs.pb Add jenkinsfile for pipeline build and dockerfile for build 2023-04-17 10:36:58 +02:00
onnx.pbtxt Add jenkinsfile for pipeline build and dockerfile for build 2023-04-17 10:36:58 +02:00
onnx_def_gen.py Add jenkinsfile for pipeline build and dockerfile for build 2023-04-17 10:36:58 +02:00
save_test.py Add jenkinsfile for pipeline build and dockerfile for build 2023-04-17 10:36:58 +02:00
test_onnx_lenet.py Add jenkinsfile for pipeline build and dockerfile for build 2023-04-17 10:36:58 +02:00
test_op_def_gen.py Add jenkinsfile for pipeline build and dockerfile for build 2023-04-17 10:36:58 +02:00

README.md

Onnx op definition loading

Setup

Use anaconda and install onnx:

conda install onnx

Generate a file

python onnx_def_gen.py

This will generate a file with all op definitions loadable as NodeProto in onnx serialized as a text file split by --\n.