Model
Loaded MPKs, preprocess plans, and the simplified inference entry point. More...
Classes Index
| class | Model |
|
Loaded form of an MPK; the simplified entry point to run inference on Modalix. More... | |
| struct | ResizeSpec |
|
Resize / letterbox / crop parameters. More... | |
| struct | ColorConvertSpec |
|
Color-format conversion parameters. More... | |
| struct | LayoutConvertSpec |
|
Axis-permutation parameters for HWC↔CHW-style layout conversions. More... | |
| struct | NormalizeSpec |
|
Mean/stddev normalization parameters. More... | |
| struct | QuantizeSpec |
|
INT8 (or other low-precision) quantization parameters. More... | |
| struct | TessellateSpec |
|
MLA tessellation (tile-shuffle) parameters. More... | |
| struct | PreprocessExplicitKnobs |
|
Per-stage flags recording which preprocess fields the user set explicitly. More... | |
| struct | Transform |
|
Discriminated union of all per-stage transform specs. More... | |
| struct | PreprocessOptions |
|
User-facing preprocess intent — what the application asks for. More... | |
| struct | PreprocessContract |
|
Per-input contract describing what the preprocess stage expects to receive. More... | |
| struct | PreprocessMetaContract |
|
Metadata-side contract — names and fields the preprocess stage requires. More... | |
| struct | ResolvedPreprocessPlan |
|
Final resolved plan — what the framework actually compiled and runs. More... | |
Enumerations Index
| enum class | AutoFlag { ... } |
|
Tri-state knob: let the planner decide, force on, or force off. More... | |
| enum class | InputKind { ... } |
|
What kind of input the user is feeding the preprocess pipeline. More... | |
| enum class | ResizeMode { ... } |
|
How the resize stage maps non-matching input dimensions to the model's input shape. More... | |
| enum class | PreprocessColorFormat { ... } |
|
Color format hint for the color-convert stage. More... | |
| enum class | NormalizePreset { ... } |
|
Common normalize presets — convenient shorthand for famous mean/stddev pairs. More... | |
| enum class | PreprocessGraphFamily { ... } |
|
Which preprocess graph family the planner selected. More... | |
| enum class | TransformType { ... } |
|
Which transformation a Transform represents — used in user-supplied transform lists. More... | |
Description
Loaded MPKs, preprocess plans, and the simplified inference entry point.
Enumerations
AutoFlag
| strong |
Tri-state knob: let the planner decide, force on, or force off.
- Enumeration values
-
Auto Planner decides based on model contract and inputs (= 0) On Force this stage on (= 1) Off Force this stage off (= 2)
Used pervasively across PreprocessOptions so the application can express "I don't care, do the right thing" (Auto) without losing the ability to override.
Definition at line 32 of file PreprocessPlan.h.
InputKind
| strong |
What kind of input the user is feeding the preprocess pipeline.
- Enumeration values
-
Auto Planner infers from caps / sample type (= 0) Image Decoded image (planar/packed pixels) (= 1) Tensor Already-shaped tensor; preprocess is mostly a pass-through (= 2)
Definition at line 40 of file PreprocessPlan.h.
NormalizePreset
| strong |
Common normalize presets — convenient shorthand for famous mean/stddev pairs.
- Enumeration values
-
None Use the explicit mean/stddev fields (= 0) ImageNet Standard ImageNet stats (= 1) COCO_YOLO Stats commonly used by YOLO-family detectors trained on COCO (= 2)
Definition at line 67 of file PreprocessPlan.h.
PreprocessColorFormat
| strong |
Color format hint for the color-convert stage.
- Enumeration values
Definition at line 56 of file PreprocessPlan.h.
PreprocessGraphFamily
| strong |
Which preprocess graph family the planner selected.
- Enumeration values
The four variants correspond to the four corners of the dtype-contract decision tree (BF16/INT8 × inside/outside MLA tess).
Definition at line 76 of file PreprocessPlan.h.
ResizeMode
| strong |
How the resize stage maps non-matching input dimensions to the model's input shape.
- Enumeration values
Definition at line 48 of file PreprocessPlan.h.
TransformType
| strong |
Which transformation a Transform represents — used in user-supplied transform lists.
- Enumeration values
Definition at line 86 of file PreprocessPlan.h.
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.