Selected onnx API

This section gathers documentations from the most frequent used functions or classes from onnx. Next function returns the opset of the installed version of package onnx.

onnx.defs.onnx_opset_version() int

<<<

from onnx import __version__
from onnx.defs import onnx_opset_version
print("onnx", __version__, "opset", onnx_opset_version())

>>>

    onnx 1.10.2 opset 15

Other functions are dispatched accress following sections.