cavis/contrib/codegen-tools/onnx-def-gen
agibsonccc c715aea405 Update LICENSE 2021-02-01 17:47:29 +09:00
..
README.md Dev commits 2021-02-01 14:31:20 +09:00
lenet.onnx Dev commits 2021-02-01 14:31:20 +09:00
onnx-op-defs.pb Dev commits 2021-02-01 14:31:20 +09:00
onnx.pbtxt Dev commits 2021-02-01 14:31:20 +09:00
onnx_def_gen.py Update LICENSE 2021-02-01 17:47:29 +09:00
save_test.py Update LICENSE 2021-02-01 17:47:29 +09:00
test_onnx_lenet.py Update LICENSE 2021-02-01 17:47:29 +09:00
test_op_def_gen.py Update LICENSE 2021-02-01 17:47:29 +09: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.