onnx_light.onnx.defs#
Schema helpers.
- onnx_light.onnx.defs.onnx_ir_version() int#
Returns the ONNX IR version exported by the C++ bindings.
- Returns:
The ONNX IR version.
- onnx_light.onnx.defs.register_onnx_operator_set_schema() None#
Registers all built-in ONNX operator schemas into the schema registry.
Registers every operator schema for every opset version that is compiled into onnx_light (i.e., the full ONNX standard operator set with history). Duplicate registrations are silently ignored, so the function is safe to call multiple times.
- Returns:
None.