Model
Loaded model archives, preprocess plans, and the simplified inference entry point. More...
Classes Index
| class | Model |
|
Loaded form of a compiled model archive; 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 model archives, 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 35 of file PreprocessPlan.h.