Skip to main content

PipelineSequence.h File

Helpers for parsing model pipeline_sequence.json. More...

Included Headers

#include <string> #include <vector>

Namespaces Index

namespacesimaai
namespaceneat
namespacempk

Classes Index

structSequenceEntry

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

structSequenceSplit

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

structSequenceLoadResult

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

Description

Helpers for parsing model pipeline_sequence.json.

File Listing

The file content with the documentation metadata removed is:

1
6#pragma once
7
8#include <string>
9#include <vector>
10
12
22 int sequence_id = 0;
23 std::string name;
24 std::string plugin_id;
25 std::string config_path;
26 std::string processor;
27 std::string kernel;
28};
29
39 std::vector<SequenceEntry> pre;
40 std::vector<SequenceEntry> infer;
41 std::vector<SequenceEntry> post;
42};
43
54 Strict = 0,
57};
58
69 std::vector<SequenceEntry> sequence;
71 std::string strict_error;
72};
73
80std::vector<SequenceEntry> load_pipeline_sequence(const std::string& etc_dir);
81
89
101SequenceSplit split_sequence_for_infer(const std::vector<SequenceEntry>& seq);
102
104bool is_pre_adapter_kernel(const std::string& kernel);
106bool is_post_adapter_kernel(const std::string& kernel);
107
108} // namespace simaai::neat::mpk

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.