Pipeline Builder API
important
Preview
Core operators (detection, classification, pose, segmentation, tracking) are stable. Cascade (op.for_each, op.crop_roi) and streaming APIs are still in development.
The Pipeline Builder API is the Pythonic interface for building ML inference pipelines on the Axelera Metis AIPU. It replaces YAML-based pipeline configuration with composable Python operators.
Note:
The Operator classes each have a snake_case alias. e.g.:
op.Seqcan also be used asop.seqop.CenterCropcan also be used asop.center_crop- etc.
Getting started
- Quickstart — Overview and quick start
- Model Compilation — Compile your model to
.axm - Pipeline Overview — Build pipelines with full examples for every task type
Operator Reference
- Transforms — Image preprocessing (resize, letterbox, normalize, color convert)
- Postprocess — Decode raw model output, NMS, coordinate transform, filter
- Results — Convert arrays to typed objects (DetectedObject, PoseObject, etc.)
- Inference — Model loading (
op.load,op.onnx_model) - Tracker — Multi-object tracking (ByteTrack, OC-SORT, SORT, TrackTrack)
- Combinators — Pipeline composition (
op.seq,op.par,op.for_each)
Running Pipelines
- Sources — Video/stream input (
cv.create_source,VideoSource,Image) - Scheduler — Device selection and execution backing
pipeline.stream/pipeline.batch
Type Reference
- Types — Data types: BBox, DetectedObject, PoseObject, SegmentedObject, TrackedObject, Classification