Expand description
The vocabulary types a model config is built from.
Per-role output descriptors (Detection, Boxes, Scores,
Classes, Segmentation, Protos, MaskCoefficients,
Mask), the axis names used to declare physical layout (DimName),
quantization pairs (QuantTuple), and the enums that steer decoding:
DecoderType, DecoderVersion, Nms, and the resolved
ModelType.
Nms is worth a note: it has no None variant. Bypassing suppression is
expressed as Option<Nms>::None on the decoder configuration, and
Nms::Auto means “take the mode from the config document”, falling back
to Nms::ClassAgnostic when the document is silent.
Structs§
Enums§
- Decoder
Type - Decoder
Version - Decoder version for Ultralytics models.
- DimName
- Model
Type - Nms
- NMS (Non-Maximum Suppression) mode for filtering overlapping detections.
Functions§
- deserialize_
dshape - Deserialize dshape from either array-of-tuples or array-of-single-key-dicts.