aboutsummaryrefslogtreecommitdiff
path: root/math/py-spox/pkg-descr
blob: ecfef632b8d5047e682e331f95cd812d9360f4a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Spox makes it easy to construct ONNX models through clean and idiomatic Python
code.

A common application of ONNX is converting models from various frameworks. This
requires replicating their runtime behaviour with ONNX operators. In the past
this has been a major challenge. Based on our experience, we designed Spox from
the ground up to make the process of writing converters (and ONNX models in
general) as easy as possible.

Spox's features include:
- Eager operator validation and type inference
- Errors with Python tracebacks to offending operators
- First-class support for subgraphs (control flow)
- A lean and predictable API