Skip to main content

StageRun.h File

Per-stage runtime entry points exposed for advanced/composable pipelines. More...

Included Headers

#include "pipeline/BoxDecodeType.h" #include "pipeline/DetectionTypes.h" #include "pipeline/SessionOptions.h" #include "pipeline/TensorCore.h" #include <vector>

Namespaces Index

namespacecv
namespacesimaai
namespaceneat
namespacestages

Classes Index

structBoxDecodeOptions

Options driving a standalone BoxDecode invocation. More...

Description

Per-stage runtime entry points exposed for advanced/composable pipelines.

The simaai::neat::stages namespace exposes the individual pipeline stages (preprocessing, MLA inference, EV74 postprocessing, BoxDecode) as standalone functions over Tensor/Sample lists. Most users should drive the model via simaai::neat::Run / Session; these helpers exist for tooling and tests that want to invoke a single stage in isolation.

See Also

Run for the higher-level orchestrator.

See Also

BoxDecodeType for decode-family selection.

File Listing

The file content with the documentation metadata removed is:

1
15#pragma once
16
21
22#include <vector>
23
24namespace cv {
25class Mat;
26} // namespace cv
27
28namespace simaai::neat {
29class Model;
30
31namespace stages {
32
45 // Decode type is explicit by construction; BoxDecode fails fast for Unspecified.
47 explicit BoxDecodeOptions(BoxDecodeType type) : decode_type(type) {}
49 BoxDecodeOptions() = delete;
50
52 double detection_threshold = 0.0;
53 double nms_iou_threshold = 0.0;
54 int top_k = 0;
55};
56
60TensorList Preproc(const std::vector<cv::Mat>& inputs, const simaai::neat::Model& model);
62TensorList Infer(const TensorList& inputs, const simaai::neat::Model& model);
64TensorList MLA(const TensorList& inputs, const simaai::neat::Model& model);
68SampleList Preproc(const SampleList& inputs, const simaai::neat::Model& model);
70SampleList Infer(const SampleList& inputs, const simaai::neat::Model& model);
72SampleList MLA(const SampleList& inputs, const simaai::neat::Model& model);
84 const BoxDecodeOptions& opt);
86 const BoxDecodeOptions& opt);
88 const BoxDecodeOptions& opt);
89
90} // namespace stages
91} // namespace simaai::neat

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.