ONNX static content generationΒΆ

This is a developer usage guide to the ONNX Python API and Operator Schemas. It contains the following information for the latest release:

import onnx
from onnx.defs import onnx_opset_version
print(f"onnx.__version__: {onnx.__version__!r}")
print(f"onnx opset: {onnx_opset_version()}")
onnx.__version__: '1.12.0'
onnx opset: 18