Skip to main content

DetessOptions Struct

Construction options for a Detess Node. More...

Declaration

struct simaai::neat::DetessOptions { ... }

Included Headers

#include <Detess.h>

Public Constructors Index

DetessOptions ()=default

Default-construct with framework-default values; tune fields after construction. More...

DetessOptions (const simaai::neat::Model &model)

Initialize options from a loaded Model (pulls tile geometry, tensor shape, etc.). More...

Public Member Attributes Index

std::stringconfig_path

Path to the kernel config JSON, if loaded from disk. More...

std::stringconfig_dir

Directory used when materializing config snapshots to disk. More...

boolkeep_config = false

If true, retain the materialized config file after run. More...

boolno_json_path = false

If true, pass config to the element inline (no file path). More...

std::optional< nlohmann::json >config_json

Inline kernel config; takes precedence over config_path. More...

std::stringupstream_name

Name of the upstream MLA element (used for tag wiring). More...

std::stringelement_name

Optional GStreamer element name (default: auto-generated). More...

std::shared_ptr< const CompiledProcessCvuContract >compiled_contract

Pre-compiled CVU contract; bypasses re-compilation. More...

intnum_buffers = 0

Override for the element's buffer pool size; 0 = use default/model. More...

intnum_buffers_model = 0

Buffer count derived from the bound model. More...

boolnum_buffers_locked = false

If true, planner won't override num_buffers. More...

Description

Construction options for a Detess Node.

Definition at line 38 of file Detess.h.

Public Constructors

DetessOptions()

simaai::neat::DetessOptions::DetessOptions ()
default

Default-construct with framework-default values; tune fields after construction.

Definition at line 40 of file Detess.h.

DetessOptions()

simaai::neat::DetessOptions::DetessOptions (const simaai::neat::Model & model)
explicit

Initialize options from a loaded Model (pulls tile geometry, tensor shape, etc.).

Definition at line 42 of file Detess.h.

Public Member Attributes

compiled_contract

std::shared_ptr<const CompiledProcessCvuContract> simaai::neat::DetessOptions::compiled_contract

Pre-compiled CVU contract; bypasses re-compilation.

Definition at line 53 of file Detess.h.

config_dir

std::string simaai::neat::DetessOptions::config_dir

Directory used when materializing config snapshots to disk.

Definition at line 45 of file Detess.h.

45 std::string config_dir;

config_json

std::optional<nlohmann::json> simaai::neat::DetessOptions::config_json

Inline kernel config; takes precedence over config_path.

Definition at line 49 of file Detess.h.

config_path

std::string simaai::neat::DetessOptions::config_path

Path to the kernel config JSON, if loaded from disk.

Definition at line 44 of file Detess.h.

44 std::string config_path;

element_name

std::string simaai::neat::DetessOptions::element_name

Optional GStreamer element name (default: auto-generated).

Definition at line 51 of file Detess.h.

51 std::string element_name;

keep_config

bool simaai::neat::DetessOptions::keep_config = false

If true, retain the materialized config file after run.

Definition at line 46 of file Detess.h.

46 bool keep_config = false;

no_json_path

bool simaai::neat::DetessOptions::no_json_path = false

If true, pass config to the element inline (no file path).

Definition at line 47 of file Detess.h.

47 bool no_json_path = false;

num_buffers

int simaai::neat::DetessOptions::num_buffers = 0

Override for the element's buffer pool size; 0 = use default/model.

Definition at line 54 of file Detess.h.

54 int num_buffers = 0;

num_buffers_locked

bool simaai::neat::DetessOptions::num_buffers_locked = false

If true, planner won't override num_buffers.

Definition at line 56 of file Detess.h.

56 bool num_buffers_locked = false;

num_buffers_model

int simaai::neat::DetessOptions::num_buffers_model = 0

Buffer count derived from the bound model.

Definition at line 55 of file Detess.h.

upstream_name

std::string simaai::neat::DetessOptions::upstream_name

Name of the upstream MLA element (used for tag wiring).

Definition at line 50 of file Detess.h.

50 std::string upstream_name;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.