Skip to main content

DetessDequant Class

Fused CVU kernel Node: Detess followed by Dequant (INT8→FP32). More...

Declaration

class simaai::neat::DetessDequant { ... }

Included Headers

#include <DetessDequant.h>

Base classes

classNode
classNodeContractProvider
classNodeContractConfigurable
classOutputSpecProvider

Public Constructors Index

DetessDequant (DetessDequantOptions opt={})

Construct with optional DetessDequantOptions. More...

Public Member Functions Index

std::stringkind () const override

Type label for this Node kind. More...

NodeCapsBehaviorcaps_behavior () const override

Whether the Node negotiates static or dynamic caps. More...

NodeContractDefinitioncontract_definition () const override

Structural contract definition for this Node. More...

boolcompile_node_contract (const ContractCompileInput &input, CompiledNodeContract *out, std::string *err) const override

Compile this Node's contract from the given input. More...

voidapply_compiled_contract (const CompiledNodeContract &contract, std::string *err) override

Apply a compiled contract back into this Node. More...

std::stringbackend_fragment (int node_index) const override

GStreamer fragment this Node emits. More...

std::vector< std::string >element_names (int node_index) const override

Deterministic element names this Node will create. More...

OutputSpecoutput_spec (const OutputSpec &input) const override

Negotiated downstream caps produced by this Node. More...

const nlohmann::json *config_json () const

Resolved kernel config JSON, or null if no config was supplied/loaded. More...

const DetessDequantOptions &options () const

Inspect the Node's options. More...

const std::string &config_path () const

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

Private Member Attributes Index

DetessDequantOptionsopt_
std::shared_ptr< ConfigHolder >config_holder_
std::stringconfig_path_

Description

Fused CVU kernel Node: Detess followed by Dequant (INT8→FP32).

The route planner picks DetessDequant after MLA stages whenever the INT8 path needs to surface FP32 tensors in natural layout downstream. Application code rarely adds this directly.

See Also

"The dtype contract" page in /concepts/dtype_contract

Definition at line 67 of file DetessDequant.h.

Public Constructors

DetessDequant()

simaai::neat::DetessDequant::DetessDequant (DetessDequantOptions opt={})
explicit

Construct with optional DetessDequantOptions.

Definition at line 73 of file DetessDequant.h.

Public Member Functions

apply_compiled_contract()

void simaai::neat::DetessDequant::apply_compiled_contract (const CompiledNodeContract & contract, std::string * err)

Apply a compiled contract back into this Node.

Definition at line 90 of file DetessDequant.h.

backend_fragment()

std::string simaai::neat::DetessDequant::backend_fragment (int node_index)

GStreamer fragment this Node emits.

Definition at line 92 of file DetessDequant.h.

caps_behavior()

NodeCapsBehavior simaai::neat::DetessDequant::caps_behavior ()
inline

Whether the Node negotiates static or dynamic caps.

Definition at line 81 of file DetessDequant.h.

81 NodeCapsBehavior caps_behavior() const override {
82 return NodeCapsBehavior::Static;
83 }

compile_node_contract()

bool simaai::neat::DetessDequant::compile_node_contract (const ContractCompileInput & input, CompiledNodeContract * out, std::string * err)

Compile this Node's contract from the given input.

Definition at line 87 of file DetessDequant.h.

config_json()

const nlohmann::json * simaai::neat::DetessDequant::config_json ()

Resolved kernel config JSON, or null if no config was supplied/loaded.

Definition at line 99 of file DetessDequant.h.

config_path()

const std::string & simaai::neat::DetessDequant::config_path ()
inline

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

Definition at line 106 of file DetessDequant.h.

106 const std::string& config_path() const {
107 return config_path_;
108 }

contract_definition()

NodeContractDefinition simaai::neat::DetessDequant::contract_definition ()

Structural contract definition for this Node.

Definition at line 85 of file DetessDequant.h.

element_names()

std::vector< std::string > simaai::neat::DetessDequant::element_names (int node_index)

Deterministic element names this Node will create.

Definition at line 94 of file DetessDequant.h.

kind()

std::string simaai::neat::DetessDequant::kind ()
inline

Type label for this Node kind.

Definition at line 77 of file DetessDequant.h.

77 std::string kind() const override {
78 return "DetessDequant";
79 }

options()

const DetessDequantOptions & simaai::neat::DetessDequant::options ()
inline

Inspect the Node's options.

Definition at line 102 of file DetessDequant.h.

103 return opt_;
104 }

output_spec()

OutputSpec simaai::neat::DetessDequant::output_spec (const OutputSpec & input)

Negotiated downstream caps produced by this Node.

Definition at line 96 of file DetessDequant.h.

Private Member Attributes

config_holder_

std::shared_ptr<ConfigHolder> simaai::neat::DetessDequant::config_holder_

Definition at line 116 of file DetessDequant.h.

116 std::shared_ptr<ConfigHolder> config_holder_;

config_path_

std::string simaai::neat::DetessDequant::config_path_

Definition at line 117 of file DetessDequant.h.

117 std::string config_path_;

opt_

DetessDequantOptions simaai::neat::DetessDequant::opt_

Definition at line 115 of file DetessDequant.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.