Skip to main content

RouteOptions Struct

Options for Model::graph() — controls how the model assembles into a Graph. More...

Declaration

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

Included Headers

#include <Model.h>

Public Member Attributes Index

boolinclude_input = false

Include a public nodes::Input Node at the head. More...

boolinclude_output = false

Include a public nodes::Output Node at the tail. More...

boolexpose_all_outputs = false

Expose individual model output endpoints when the model route has multiple physical outputs. More...

std::stringupstream_name

Element name of the upstream Node feeding the model (default: "decoder"). More...

std::stringname_suffix

Suffix appended to generated element names. More...

std::stringbuffer_name

Optional buffer pool name (used by advanced memory configurations). More...

VerboseOptionsverbose

Diagnostic verbosity during Graph construction. More...

std::stringprocesscvu_requested_run_target = "AUTO"

Requested backend for model-managed processcvu generic-EV stages. More...

ProcessCvuOptionsprocesscvu

Simple placement for model-managed processcvu stages when this Graph/Runner is built. More...

ProcessMlaOptionsprocessmla

MLA stage execution options. More...

PreparedRunnerOptionsprepared_runner

Experimental prepared-route runner. More...

intasync_queue_depth = 0

Depth for internally inserted async queue2 elements. 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 282 of file Model.h.

Public Member Attributes

async_queue_depth

int simaai::neat::Model::RouteOptions::async_queue_depth = 0

Depth for internally inserted async queue2 elements.

0 inherits from Model::Options/framework default.

Definition at line 327 of file Model.h.

buffer_name

std::string simaai::neat::Model::RouteOptions::buffer_name

Optional buffer pool name (used by advanced memory configurations).

Definition at line 302 of file Model.h.

expose_all_outputs

bool simaai::neat::Model::RouteOptions::expose_all_outputs = false

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 297 of file Model.h.

297 bool expose_all_outputs = false;

include_input

bool simaai::neat::Model::RouteOptions::include_input = false

Include a public nodes::Input Node at the head.

Definition at line 283 of file Model.h.

283 bool include_input = false;

include_output

bool simaai::neat::Model::RouteOptions::include_output = false

Include a public nodes::Output Node at the tail.

Definition at line 284 of file Model.h.

284 bool include_output = false;

name_suffix

std::string simaai::neat::Model::RouteOptions::name_suffix

Suffix appended to generated element names.

Definition at line 300 of file Model.h.

300 std::string name_suffix;

prepared_runner

PreparedRunnerOptions simaai::neat::Model::RouteOptions::prepared_runner

Experimental prepared-route runner.

Non-default values take priority over Model::Options.

Definition at line 323 of file Model.h.

processcvu

ProcessCvuOptions simaai::neat::Model::RouteOptions::processcvu

Simple placement for model-managed processcvu stages when this Graph/Runner is built.

Non-AUTO values take priority over Model::Options and the legacy coarse target above.

Definition at line 315 of file Model.h.

processcvu_requested_run_target

std::string simaai::neat::Model::RouteOptions::processcvu_requested_run_target = "AUTO"

Requested backend for model-managed processcvu generic-EV stages.

"AUTO" (default) resolves in core during manifest rendering and prefers A65 when the stage supports it; otherwise EV74. Set to "EV74" or "A65" to force a specific backend.

Definition at line 310 of file Model.h.

310 std::string processcvu_requested_run_target = "AUTO";

processmla

ProcessMlaOptions simaai::neat::Model::RouteOptions::processmla

MLA stage execution options.

Non-default values take priority over Model::Options.

Definition at line 319 of file Model.h.

upstream_name

std::string simaai::neat::Model::RouteOptions::upstream_name

Element name of the upstream Node feeding the model (default: "decoder").

Definition at line 298 of file Model.h.

298 std::string upstream_name;

verbose

VerboseOptions simaai::neat::Model::RouteOptions::verbose

Diagnostic verbosity during Graph construction.

Definition at line 303 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.