Skip to main content

QuantTess Class

Fused CVU kernel Node: Quant (FP32→INT8) followed by Tess. More...

Declaration

class simaai::neat::QuantTess { ... }

Included Headers

#include <QuantTess.h>

Base classes

classNode
classNodeContractProvider
classNodeContractConfigurable

Public Constructors Index

QuantTess (QuantTessOptions opt={})

Construct with optional QuantTessOptions. 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...

const nlohmann::json *config_json () const

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

const QuantTessOptions &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

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

Description

Fused CVU kernel Node: Quant (FP32→INT8) followed by Tess.

The route planner picks QuantTess when the MLA wants INT8 input and MLA-side tessellation is not present in the compiled kernel. Application code rarely adds this directly.

See Also

"The dtype contract" page in /concepts/dtype_contract

Definition at line 69 of file QuantTess.h.

Public Constructors

QuantTess()

simaai::neat::QuantTess::QuantTess (QuantTessOptions opt={})
explicit

Construct with optional QuantTessOptions.

Definition at line 72 of file QuantTess.h.

Public Member Functions

apply_compiled_contract()

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

Apply a compiled contract back into this Node.

Definition at line 89 of file QuantTess.h.

backend_fragment()

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

GStreamer fragment this Node emits.

Definition at line 91 of file QuantTess.h.

caps_behavior()

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

Whether the Node negotiates static or dynamic caps.

Definition at line 80 of file QuantTess.h.

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

compile_node_contract()

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

Compile this Node's contract from the given input.

Definition at line 86 of file QuantTess.h.

config_json()

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

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

Definition at line 96 of file QuantTess.h.

config_path()

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

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

Definition at line 103 of file QuantTess.h.

103 const std::string& config_path() const {
104 return config_path_;
105 }

contract_definition()

NodeContractDefinition simaai::neat::QuantTess::contract_definition ()

Structural contract definition for this Node.

Definition at line 84 of file QuantTess.h.

element_names()

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

Deterministic element names this Node will create.

Definition at line 93 of file QuantTess.h.

kind()

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

Type label for this Node kind.

Definition at line 76 of file QuantTess.h.

76 std::string kind() const override {
77 return "QuantTess";
78 }

options()

const QuantTessOptions & simaai::neat::QuantTess::options ()
inline

Inspect the Node's options.

Definition at line 99 of file QuantTess.h.

99 const QuantTessOptions& options() const {
100 return opt_;
101 }

Private Member Attributes

config_holder_

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

Definition at line 113 of file QuantTess.h.

113 std::shared_ptr<ConfigHolder> config_holder_;

config_path_

std::string simaai::neat::QuantTess::config_path_

Definition at line 114 of file QuantTess.h.

114 std::string config_path_;

opt_

QuantTessOptions simaai::neat::QuantTess::opt_

Definition at line 112 of file QuantTess.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.