Skip to main content

mpk Namespace

Definition

namespace simaai::neat::mpk { ... }

Classes Index

structSequenceEntry

Single stage within a parsed pipeline sequence entry. More...

structSequenceLoadResult

Result wrapper carrying a parsed sequence plus diagnostics. More...

structSequenceSplit

Pipeline sequence partitioned into pre / infer / post sections. More...

Enumerations Index

enum classSequenceLoadSource { ... }

Indicates which source produced a SequenceLoadResult. More...

Functions Index

std::vector< SequenceEntry >load_pipeline_sequence (const std::string &etc_dir)

Parse pipeline_sequence.json (first pipeline) into ordered entries. More...

SequenceLoadResultload_pipeline_sequence_with_source (const std::string &etc_dir)

Parse the pipeline sequence and return both the entries and the source diagnostic. More...

SequenceSplitsplit_sequence_for_infer (const std::vector< SequenceEntry > &seq)

Split a sequence into pre/infer/post sections for inference execution. More...

boolis_pre_adapter_kernel (const std::string &kernel)

Returns true iff kernel is a known pre-adapter kernel name. More...

boolis_post_adapter_kernel (const std::string &kernel)

Returns true iff kernel is a known post-adapter kernel name. More...

Functions

is_post_adapter_kernel()

bool simaai::neat::mpk::is_post_adapter_kernel (const std::string & kernel)

Returns true iff kernel is a known post-adapter kernel name.

Definition at line 106 of file PipelineSequence.h.

is_pre_adapter_kernel()

bool simaai::neat::mpk::is_pre_adapter_kernel (const std::string & kernel)

Returns true iff kernel is a known pre-adapter kernel name.

Definition at line 104 of file PipelineSequence.h.

load_pipeline_sequence()

std::vector< SequenceEntry > simaai::neat::mpk::load_pipeline_sequence (const std::string & etc_dir)

Parse pipeline_sequence.json (first pipeline) into ordered entries.

Parameters
etc_dir

Directory containing the manifest json files.

Returns

Ordered sequence entries.

Definition at line 80 of file PipelineSequence.h.

load_pipeline_sequence_with_source()

SequenceLoadResult simaai::neat::mpk::load_pipeline_sequence_with_source (const std::string & etc_dir)

Parse the pipeline sequence and return both the entries and the source diagnostic.

Parameters
etc_dir

Directory containing the manifest json files.

Returns

SequenceLoadResult with the parsed sequence and load-source classification.

Definition at line 88 of file PipelineSequence.h.

split_sequence_for_infer()

SequenceSplit simaai::neat::mpk::split_sequence_for_infer (const std::vector< SequenceEntry > & seq)

Split a sequence into pre/infer/post sections for inference execution.

Primary behavior: anchor infer on the first..last MLA stage and treat everything before/after as pre/post (regardless of kernel labels). Legacy fallback (when no MLA stage is present): strip known pre/post adapter kernels from the ends and keep the middle as infer.

Parameters
seq

Ordered pipeline sequence to split.

Returns

The partitioned SequenceSplit.

Definition at line 101 of file PipelineSequence.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.