nodes Namespace
Definition
Classes Index
| struct | FanOutOptions |
| class | FanOut |
|
Stage executor that duplicates each incoming sample to multiple output ports. More... | |
| struct | JoinBundleOptions |
|
Configuration for a JoinBundle stage executor. More... | |
| class | JoinBundle |
|
Stage executor that joins samples from multiple input ports into a single bundled output. More... | |
| struct | JoinEncodedWithMetaOptions |
|
Configuration for a JoinEncodedWithMeta stage executor. More... | |
| class | JoinEncodedWithMeta |
|
Stage executor that bundles an encoded payload (e.g., H.264) with associated metadata. More... | |
| class | LambdaStage |
|
Generic stage executor whose behavior is supplied by user-provided callbacks. More... | |
| class | PipelineNode |
|
Runtime-graph node that wraps a builder-side NodeGroup (or single Node) as a pipeline-backend node. More... | |
| struct | StageModelExecutorOptions |
|
Configuration for a StageModelExecutor stage. More... | |
| class | StageModelExecutor |
|
Stage executor that runs a Model's inference pipeline as a runtime-graph stage. More... | |
| struct | StageNodeOptions |
|
Options controlling how a StageNode is instantiated and scheduled by the runtime. More... | |
| class | StageNode |
|
Generic runtime-graph node that adapts a StageExecutor factory into a Node. More... | |
| class | StampFrameId |
|
Stage executor that assigns a monotonically-increasing frame id per stream. More... | |
| class | StreamMetadata |
|
Stage executor that fills in stream metadata defaults on passing samples. More... | |
| struct | StreamSchedulerOptions |
|
Configuration for a StreamScheduler stage. More... | |
| class | StreamScheduler |
|
Stage executor that round-robin-schedules samples across multiple streams. More... | |
Typedefs Index
| using | LambdaOnInput = std::function< void(StageMsg &&, std::vector< StageOutMsg > &, const StagePorts &)> |
|
Callback invoked by LambdaStage for every incoming StageMsg; receives the bound StagePorts. More... | |
| using | LambdaOnTick = std::function< void(std::int64_t, std::vector< StageOutMsg > &, const StagePorts &)> |
|
Callback invoked by LambdaStage on each periodic tick; gets the current time in nanoseconds and the bound StagePorts. More... | |
| using | SampleMapFn = std::function< void(Sample &)> |
|
In-place sample mutator used by Map(SampleMapFn, ...). More... | |
| using | TensorMapFn = std::function< void(Sample &, simaai::neat::Tensor &)> |
|
In-place sample + tensor mutator used by TensorMap(TensorMapFn, ...). More... | |
| using | SampleMapTransformFn = std::function< Sample(Sample)> |
|
Pure transform used by Map(SampleMapTransformFn, ...) — returns a new Sample. More... | |
Enumerations Index
| enum class | JoinKeyPolicy { ... } |
|
Selects how the JoinBundle stage groups samples coming from different inputs. More... | |
| enum class | StageKeyBy { ... } |
|
Selects how the runtime keys messages for a stage node's instance assignment. More... | |
| enum class | StreamDropPolicy { ... } |
|
Policy used by StreamScheduler when a per-stream queue overflows. More... | |
Functions Index
| std::shared_ptr< simaai::neat::graph::Node > | Pipeline (const simaai::neat::NodeGroup &group, std::string label={}) |
|
Wrap a NodeGroup (by const ref) in a PipelineNode graph node. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | Pipeline (simaai::neat::NodeGroup &&group, std::string label={}) |
|
Wrap a NodeGroup (by rvalue) in a PipelineNode graph node. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | Pipeline (std::shared_ptr< simaai::neat::Node > node, std::string label={}) |
|
Wrap a builder-Node shared pointer in a PipelineNode graph node. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | Stage (std::string kind, StageNode::StageExecutorFactory factory, std::vector< PortDesc > inputs, std::vector< PortDesc > outputs, std::string label={}, StageNode::OutputSpecFn out_fn={}, StageNodeOptions options={}) |
|
Construct a StageNode graph node from an executor factory and port descriptions. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | FanOutNode (std::vector< std::string > outputs, std::string label={}, std::string input="in") |
|
Convenience helper that wraps a FanOut executor in a StageNode. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | JoinBundleNode (std::vector< std::string > inputs, std::string label={}, std::string output="bundle", JoinBundleOptions opt={}) |
|
Convenience helper that wraps a JoinBundle executor in a StageNode. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | JoinEncodedWithMetaNode (std::vector< std::string > inputs, std::string label={}, std::string output="bundle") |
|
Convenience helper that wraps a JoinEncodedWithMeta executor in a StageNode. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | LambdaStageNode (std::string kind, std::vector< std::string > inputs, std::vector< std::string > outputs, LambdaOnInput on_input, std::string label={}, StageNodeOptions options={}, StageNode::OutputSpecFn out_fn={}, LambdaOnTick on_tick={}) |
|
Convenience helper that wraps a LambdaStage in a StageNode. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | Map (SampleMapFn fn, std::string label={}, StageNodeOptions options={}, StageNode::OutputSpecFn out_fn={}) |
|
Build a stage node that applies an in-place mutator to each sample. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | TensorMap (TensorMapFn fn, std::string label={}, StageNodeOptions options={}, StageNode::OutputSpecFn out_fn={}) |
|
Build a stage node that applies an in-place mutator to each sample's primary tensor. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | Map (SampleMapTransformFn fn, std::string label={}, StageNodeOptions options={}, StageNode::OutputSpecFn out_fn={}) |
|
Build a stage node that returns a transformed Sample from each input. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | StageModelExecutorNode (const StageModelExecutorOptions &opt, std::string label={}, StageNodeOptions node_opt={}) |
|
Convenience helper that wraps a StageModelExecutor in a StageNode. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | StampFrameIdNode (std::string label={}) |
|
Convenience helper that wraps a StampFrameId executor in a StageNode. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | StreamMetadataNode (StreamMetadataDefaults defaults={}, std::string label={}) |
|
Convenience helper that wraps a StreamMetadata executor in a StageNode. More... | |
| std::shared_ptr< simaai::neat::graph::Node > | StreamSchedulerNode (StreamSchedulerOptions opt={}, std::string label={}, std::string input="in", std::string output="out") |
|
Convenience helper that wraps a StreamScheduler executor in a StageNode. More... | |
Typedefs
LambdaOnInput
|
Callback invoked by LambdaStage for every incoming StageMsg; receives the bound StagePorts.
Definition at line 21 of file LambdaStage.h.
LambdaOnTick
|
Callback invoked by LambdaStage on each periodic tick; gets the current time in nanoseconds and the bound StagePorts.
Definition at line 24 of file LambdaStage.h.
SampleMapFn
|
In-place sample mutator used by Map(SampleMapFn, ...).
Definition at line 24 of file Map.h.
SampleMapTransformFn
|
TensorMapFn
|
In-place sample + tensor mutator used by TensorMap(TensorMapFn, ...).
Definition at line 26 of file Map.h.
Enumerations
JoinKeyPolicy
| strong |
Selects how the JoinBundle stage groups samples coming from different inputs.
The chosen policy determines the join key used to decide which samples belong to the same emitted bundle (e.g., match by stream id + frame id, or by stream id + presentation timestamp).
Definition at line 32 of file JoinBundle.h.
StageKeyBy
| strong |
Selects how the runtime keys messages for a stage node's instance assignment.
- Enumeration values
-
None No keying — round-robin or unconstrained dispatch (= 0) StreamId Key on Sample::stream_id so all messages for a stream go to the same instance
Used by StageNodeOptions::key_by to pick a deterministic assignment policy when a node has multiple executor instances.
Definition at line 32 of file StageNode.h.
StreamDropPolicy
| strong |
Policy used by StreamScheduler when a per-stream queue overflows.
- Enumeration values
-
DropOldest Drop the oldest queued sample when full (= 0) DropNewest Drop the newly arrived sample when full
Selects which sample is dropped to make room when an incoming sample arrives at a full per-stream queue.
Definition at line 31 of file StreamScheduler.h.
Functions
FanOutNode()
|
Convenience helper that wraps a FanOut executor in a StageNode.
- Parameters
-
outputs Names of the output ports to replicate the input onto.
label Optional human-readable label.
input Name of the single input port (default "in").
- Returns
Shared pointer to a graph::Node ready for insertion in a runtime graph.
JoinBundleNode()
|
Convenience helper that wraps a JoinBundle executor in a StageNode.
- Parameters
-
inputs Names of the input ports to join.
label Optional human-readable label.
output Name of the bundle output port (default "bundle").
opt Optional join configuration overrides.
- Returns
Shared pointer to a graph::Node ready for insertion in a runtime graph.
Definition at line 113 of file JoinBundle.h.
JoinEncodedWithMetaNode()
|
Convenience helper that wraps a JoinEncodedWithMeta executor in a StageNode.
- Parameters
-
inputs Names of the input ports (typically encoded + metadata).
label Optional human-readable label.
output Name of the bundle output port (default "bundle").
- Returns
Shared pointer to a graph::Node ready for insertion in a runtime graph.
Definition at line 86 of file JoinEncodedWithMeta.h.
LambdaStageNode()
| inline |
Convenience helper that wraps a LambdaStage in a StageNode.
- Parameters
-
kind Node kind label used in diagnostics.
inputs Names of the input ports to expose.
outputs Names of the output ports to expose.
on_input Required input handler.
label Optional human-readable label.
options Optional StageNode options (instances, keying, inflight bound).
out_fn Optional output-spec resolver.
on_tick Optional tick handler.
- Returns
Shared pointer to a graph::Node ready for insertion in a runtime graph.
Definition at line 84 of file LambdaStage.h.
Map()
|
Build a stage node that applies an in-place mutator to each sample.
- Parameters
-
fn Mutator invoked once per incoming Sample.
label Optional human-readable label.
options Optional StageNode options.
out_fn Optional output-spec resolver.
- Returns
Shared pointer to a graph::Node exposing the map stage.
Map()
|
Build a stage node that returns a transformed Sample from each input.
- Parameters
-
fn Pure transform invoked once per incoming Sample.
label Optional human-readable label.
options Optional StageNode options.
out_fn Optional output-spec resolver.
- Returns
Shared pointer to a graph::Node exposing the map-transform stage.
Pipeline()
| inline |
Wrap a NodeGroup (by const ref) in a PipelineNode graph node.
Definition at line 19 of file Adapters.h.
Pipeline()
| inline |
Wrap a NodeGroup (by rvalue) in a PipelineNode graph node.
Definition at line 25 of file Adapters.h.
Pipeline()
| inline |
Wrap a builder-Node shared pointer in a PipelineNode graph node.
Definition at line 31 of file Adapters.h.
Stage()
| inline |
Construct a StageNode graph node from an executor factory and port descriptions.
Definition at line 38 of file Adapters.h.
StageModelExecutorNode()
|
Convenience helper that wraps a StageModelExecutor in a StageNode.
- Parameters
-
opt Inference configuration (model + which stages to run).
label Optional human-readable label.
node_opt Optional StageNode options.
- Returns
Shared pointer to a graph::Node ready for insertion in a runtime graph.
Definition at line 75 of file StageModelExecutor.h.
StampFrameIdNode()
|
Convenience helper that wraps a StampFrameId executor in a StageNode.
- Parameters
-
label Optional human-readable label.
- Returns
Shared pointer to a graph::Node ready for insertion in a runtime graph.
Definition at line 48 of file StampFrameId.h.
StreamMetadataNode()
|
Convenience helper that wraps a StreamMetadata executor in a StageNode.
- Parameters
-
defaults Defaults to apply to passing samples.
label Optional human-readable label.
- Returns
Shared pointer to a graph::Node ready for insertion in a runtime graph.
Definition at line 54 of file StreamMetadata.h.
StreamSchedulerNode()
|
Convenience helper that wraps a StreamScheduler executor in a StageNode.
- Parameters
-
opt Optional scheduling configuration.
label Optional human-readable label.
input Name of the single input port (default "in").
output Name of the single output port (default "out").
- Returns
Shared pointer to a graph::Node ready for insertion in a runtime graph.
Definition at line 92 of file StreamScheduler.h.
TensorMap()
|
Build a stage node that applies an in-place mutator to each sample's primary tensor.
- Parameters
-
fn label Optional human-readable label.
options Optional StageNode options.
out_fn Optional output-spec resolver.
- Returns
Shared pointer to a graph::Node exposing the tensor-map stage.
The documentation for this namespace was generated from the following files:
- Adapters.h
- FanOut.h
- JoinBundle.h
- JoinEncodedWithMeta.h
- LambdaStage.h
- Map.h
- StageModelExecutor.h
- StageNode.h
- StampFrameId.h
- StreamMetadata.h
- StreamScheduler.h
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.