ModelInfo Struct
Diagnostic snapshot of how the route planner resolved the model. More...
Declaration
Included Headers
Public Member Attributes Index
| std::string | mpk_json_path |
|
Filesystem path to the MPK contract JSON inside the extracted model archive. More... | |
| std::string | model_name |
|
Human-readable model name (from manifest, when present). More... | |
| RouteNeeds | needs |
|
What the model fundamentally needs in its pre/post chain (derived from manifest dtypes). More... | |
| RouteCapabilities | capabilities |
|
What pre/post adapters the MPK contract provides (read from manifest stages). More... | |
| RouteSelection | selection |
|
What the planner actually included in the materialized route. More... | |
| OutputTopology | output_topology |
|
Output topology: how many tensors the model emits, and whether they're physically packed. More... | |
| std::vector< std::string > | pre_kernels |
|
Names of pre-MLA kernels in the route, in order. More... | |
| std::vector< std::string > | post_kernels |
|
Names of post-MLA kernels in the route, in order. More... | |
| std::vector< std::string > | warnings |
|
Non-fatal planner warnings (e.g., missing optional adapters). More... | |
Description
Diagnostic snapshot of how the route planner resolved the model.
Returned by info(). Aggregates the planner's needs (what the model demands), capabilities (what the MPK contract provides), selection (what got included in the route), and the output topology (physical vs logical outputs, packed or split).
Definition at line 88 of file Model.h.
Public Member Attributes
capabilities
|
What pre/post adapters the MPK contract provides (read from manifest stages).
model_name
|
Human-readable model name (from manifest, when present).
Definition at line 141 of file Model.h.
mpk_json_path
|
Filesystem path to the MPK contract JSON inside the extracted model archive.
Definition at line 139 of file Model.h.
needs
|
What the model fundamentally needs in its pre/post chain (derived from manifest dtypes).
output_topology
|
Output topology: how many tensors the model emits, and whether they're physically packed.
post_kernels
|
Names of post-MLA kernels in the route, in order.
Definition at line 149 of file Model.h.
pre_kernels
|
Names of pre-MLA kernels in the route, in order.
Definition at line 148 of file Model.h.
selection
|
What the planner actually included in the materialized route.
warnings
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.