onnx API Overview¶
Following example shows how to retrieve onnx version and onnx opset. Every new major release increments the opset version.
from onnx import __version__
from onnx.defs import onnx_opset_version
print("onnx", __version__, "opset", onnx_opset_version())
onnx 1.12.0 opset 18
Other functions are dispatched accress following sections.