onnx_light.onnx_core#
- onnx_light.onnx_core.awq
- onnx_light.onnx_core.bitsandbytes
- onnx_light.onnx_core.bitblas
- onnx_light.onnx_core.compressed_tensors
- onnx_light.onnx_core.exl3
- onnx_light.onnx_core.gguf
- onnx_light.onnx_core.gptq
- onnx_light.onnx_core.gptqmodel_fp8
- onnx_light.onnx_core.expressions
- onnx_light.onnx_core.gradient
- onnx_light.onnx_core.graph_builder
- onnx_light.onnx_core.graph_partition
- onnx_light.onnx_core.marlin
- onnx_light.onnx_core.optimization
- onnx_light.onnx_core.paroquant
- onnx_light.onnx_core.qqq
- onnx_light.onnx_core.quantization
- onnx_light.onnx_core.shape_inference
- onnx_light.onnx_core.tensor_statistics
- onnx_light.onnx_core.vptq
Python facade for the onnx_core C++ library.
This module mirrors the C++ onnx_core namespace at the Python level,
providing the shared types and graph-manipulation helpers that sit below both
onnx_op and onnx_shapes in the dependency hierarchy.
The TensorType enum and ToTypeString helper are the canonical Python
spelling for the element / sequence type descriptor defined in
onnx_proto/type_helper.h. onnx_light.onnx_op.TensorType re-exports
the same object for backward compatibility.
The three graph-analysis functions (collect_external_inputs,
collect_node_inputs, collect_remaining_inputs) mirror the helpers
defined in onnx_core/graph/graph_manipulations.h and are also re-exported
from onnx_light.onnx for convenience.
- class onnx_light.onnx_core.TensorType(*values)#
Element or sequence tensor type supported by onnx-light.