Skip to main content

ModelInfo Struct

Diagnostic snapshot of how the route planner resolved the model. More...

Declaration

struct simaai::neat::Model::ModelInfo { ... }

Included Headers

#include <Model.h>

Public Member Attributes Index

std::stringmpk_json_path

Filesystem path to the manifest JSON inside the extracted MPK. More...

std::stringmodel_name

Human-readable model name (from manifest, when present). More...

RouteNeedsneeds

What the model fundamentally needs in its pre/post chain (derived from manifest dtypes). More...

RouteCapabilitiescapabilities

What pre/post adapters the MPK provides (read from manifest stages). More...

RouteSelectionselection

What the planner actually included in the materialized route. More...

OutputTopologyoutput_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 provides), selection (what got included in the route), and the output topology (physical vs logical outputs, packed or split).

Definition at line 86 of file Model.h.

Public Member Attributes

capabilities

RouteCapabilities simaai::neat::Model::ModelInfo::capabilities

What pre/post adapters the MPK provides (read from manifest stages).

Definition at line 138 of file Model.h.

model_name

std::string simaai::neat::Model::ModelInfo::model_name

Human-readable model name (from manifest, when present).

Definition at line 135 of file Model.h.

135 std::string model_name;

mpk_json_path

std::string simaai::neat::Model::ModelInfo::mpk_json_path

Filesystem path to the manifest JSON inside the extracted MPK.

Definition at line 134 of file Model.h.

134 std::string mpk_json_path;

needs

RouteNeeds simaai::neat::Model::ModelInfo::needs

What the model fundamentally needs in its pre/post chain (derived from manifest dtypes).

Definition at line 137 of file Model.h.

output_topology

OutputTopology simaai::neat::Model::ModelInfo::output_topology

Output topology: how many tensors the model emits, and whether they're physically packed.

Definition at line 140 of file Model.h.

post_kernels

std::vector<std::string> simaai::neat::Model::ModelInfo::post_kernels

Names of post-MLA kernels in the route, in order.

Definition at line 143 of file Model.h.

143 std::vector<std::string> post_kernels;

pre_kernels

std::vector<std::string> simaai::neat::Model::ModelInfo::pre_kernels

Names of pre-MLA kernels in the route, in order.

Definition at line 142 of file Model.h.

142 std::vector<std::string> pre_kernels;

selection

RouteSelection simaai::neat::Model::ModelInfo::selection

What the planner actually included in the materialized route.

Definition at line 139 of file Model.h.

warnings

std::vector<std::string> simaai::neat::Model::ModelInfo::warnings

Non-fatal planner warnings (e.g., missing optional adapters).

Definition at line 145 of file Model.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.