Introduction to ONNX#
This documentation describes the ONNX concepts (Open Neural Network Exchange). It shows how it is used with examples in Python and finally explains some of the challenges faced when moving to ONNX in production.
The pages below are an adaptation of the upstream
ONNX introduction
where every Python example uses the onnx_light API instead of onnx.
onnx-light exposes the same protobuf message types
(ModelProto, TensorProto,
…) and helper modules (helper, checker, numpy_helper,
shape_inference, parser) under onnx_light.onnx_lib, so most code
written against the standard onnx package can be ported by changing a few
import statements.