Use anaconda and install onnx:
conda install onnx
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.