cavis/contrib/codegen-tools/onnx-def-gen
agibsonccc 65c6a9a42e Dev commits 2021-02-01 14:31:20 +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 Dev commits 2021-02-01 14:31:20 +09:00
save_test.py Dev commits 2021-02-01 14:31:20 +09:00
test_onnx_lenet.py Dev commits 2021-02-01 14:31:20 +09:00
test_op_def_gen.py Dev commits 2021-02-01 14:31:20 +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.