Skip to main content

DequantOptions Struct

Construction options for a Dequant Node. More...

Declaration

struct simaai::neat::DequantOptions { ... }

Included Headers

#include <Dequant.h>

Public Constructors Index

DequantOptions ()=default

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

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

Initialize options from a loaded Model (pulls scale/zp from the model's quant params). More...

Public Member Attributes Index

std::stringelement_name

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

std::stringstage_id

Logical stage identifier used for routing/diagnostics. More...

boolmodel_managed = false

If true, the bound model owns scale/zp resolution. More...

std::optional< double >q_scale

Per-tensor dequantization scale; required unless model_managed. More...

std::optional< std::int64_t >q_zp

Per-tensor dequantization zero-point; required unless model_managed. More...

std::shared_ptr< const CompiledDequantContract >compiled_contract

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

std::shared_ptr< const CompiledProcessCvuContract >processcvu_compiled_contract

Pre-compiled processcvu dequantize contract for model-managed A65/CVU routes. 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 Dequant Node.

Definition at line 34 of file Dequant.h.

Public Constructors

DequantOptions()

simaai::neat::DequantOptions::DequantOptions ()
default

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

Definition at line 36 of file Dequant.h.

DequantOptions()

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

Initialize options from a loaded Model (pulls scale/zp from the model's quant params).

Definition at line 38 of file Dequant.h.

Public Member Attributes

compiled_contract

std::shared_ptr<const CompiledDequantContract> simaai::neat::DequantOptions::compiled_contract

Pre-compiled neatdequant contract; bypasses re-compilation.

Definition at line 49 of file Dequant.h.

element_name

std::string simaai::neat::DequantOptions::element_name

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

Definition at line 40 of file Dequant.h.

40 std::string element_name;

model_managed

bool simaai::neat::DequantOptions::model_managed = false

If true, the bound model owns scale/zp resolution.

Definition at line 42 of file Dequant.h.

42 bool model_managed = false;

num_buffers

int simaai::neat::DequantOptions::num_buffers = 0

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

Definition at line 54 of file Dequant.h.

54 int num_buffers = 0;

num_buffers_locked

bool simaai::neat::DequantOptions::num_buffers_locked = false

If true, planner won't override num_buffers.

Definition at line 56 of file Dequant.h.

56 bool num_buffers_locked = false;

num_buffers_model

int simaai::neat::DequantOptions::num_buffers_model = 0

Buffer count derived from the bound model.

Definition at line 55 of file Dequant.h.

processcvu_compiled_contract

std::shared_ptr<const CompiledProcessCvuContract> simaai::neat::DequantOptions::processcvu_compiled_contract

Pre-compiled processcvu dequantize contract for model-managed A65/CVU routes.

Definition at line 51 of file Dequant.h.

q_scale

std::optional<double> simaai::neat::DequantOptions::q_scale

Per-tensor dequantization scale; required unless model_managed.

Definition at line 45 of file Dequant.h.

q_zp

std::optional<std::int64_t> simaai::neat::DequantOptions::q_zp

Per-tensor dequantization zero-point; required unless model_managed.

Definition at line 47 of file Dequant.h.

stage_id

std::string simaai::neat::DequantOptions::stage_id

Logical stage identifier used for routing/diagnostics.

Definition at line 41 of file Dequant.h.

41 std::string stage_id;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.