Expand description
Ultralytics YOLO schema inference from raw model I/O signals.
Model export pipelines (ONNX, TFLite, CoreML) carry Ultralytics-authored
metadata (class names, task, input size) alongside the tensor shapes
and dtypes the runtime reports. This module turns that raw signal into
a crate::schema::SchemaV2 the decoder can act on, without requiring
a hand-written edgefirst.json for every Ultralytics export.
Structs§
- Inferred
Schema - Result of inferring a schema from
ModelSignals. - Model
Signals - Raw model I/O signals: tensor shapes/dtypes plus unparsed metadata, as reported by the inference runtime that loaded the model.
- Tensor
Info - A single input or output tensor as reported by the inference runtime.
Enums§
- Infer
Error - Errors that can occur while inferring an Ultralytics schema.
- Model
Source - Container format of the model the signals were read from. Drives Ultralytics per-format conventions (box normalization, tensor order).
Functions§
- infer_
ultralytics_ schema - Infers an Ultralytics YOLO
SchemaV2from raw model I/O signals and metadata.