RouteOptions Struct
Options for Model::graph() — controls how the model assembles into a Graph. More...
Declaration
Included Headers
Public Member Attributes Index
| bool | include_input = false |
|
Include a public nodes::Input Node at the head. More... | |
| bool | include_output = false |
|
Include a public nodes::Output Node at the tail. More... | |
| bool | expose_all_outputs = false |
|
Expose individual model output endpoints when the model route has multiple physical outputs. More... | |
| std::string | upstream_name |
|
Element name of the upstream Node feeding the model (default: "decoder"). More... | |
| std::string | name_suffix |
|
Suffix appended to generated element names. More... | |
| std::string | buffer_name |
|
Optional buffer pool name (used by advanced memory configurations). More... | |
| VerboseOptions | verbose |
| std::string | processcvu_requested_run_target = "AUTO" |
|
Requested backend for model-managed processcvu generic-EV stages. More... | |
| ProcessCvuOptions | processcvu |
|
Simple placement for model-managed processcvu stages when this Graph/Runner is built. More... | |
| ProcessMlaOptions | processmla |
|
MLA stage execution options. More... | |
| PreparedRunnerOptions | prepared_runner |
|
Experimental prepared-route runner. More... | |
| int | async_queue_depth = 0 |
|
Depth for internally inserted async queue2 elements. More... | |
| AdvancedExecutionOptions | advanced_execution |
|
Preferred jargon-free execution surface; overlaid over Model::Options.advanced_execution (route wins) and folded into the legacy fields at Graph build time. More... | |
Description
Options for Model::graph() — controls how the model assembles into a Graph.
By default model.graph() returns a reusable model fragment with open named endpoints. Set include_input and/or include_output when you intentionally want the returned Graph to contain public nodes::Input / nodes::Output boundary nodes.
Definition at line 445 of file Model.h.
Public Member Attributes
advanced_execution
|
Preferred jargon-free execution surface; overlaid over Model::Options.advanced_execution (route wins) and folded into the legacy fields at Graph build time.
No-op when unset.
Definition at line 494 of file Model.h.
async_queue_depth
|
Depth for internally inserted async queue2 elements.
0 inherits from Model::Options/framework default.
Definition at line 490 of file Model.h.
buffer_name
|
Optional buffer pool name (used by advanced memory configurations).
Definition at line 465 of file Model.h.
expose_all_outputs
|
Expose individual model output endpoints when the model route has multiple physical outputs.
The default public Graph contract is intentionally ML-friendly: a model produces one aggregate output Sample, normally a TensorSet containing all model tensors. That remains true for optimized routes where several logical tensors are packed into one physical buffer.
Set this to true only when advanced/debug code needs to address truly separate physical model outputs by name. If the route has a single physical output buffer, this flag is ignored and the Graph still exposes one aggregate output endpoint.
Definition at line 460 of file Model.h.
include_input
|
Include a public nodes::Input Node at the head.
Definition at line 446 of file Model.h.
include_output
|
Include a public nodes::Output Node at the tail.
Definition at line 447 of file Model.h.
name_suffix
|
Suffix appended to generated element names.
Definition at line 463 of file Model.h.