Skip to main content

DetessDequant Class

Declaration

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

Included Headers

#include <DetessDequant.h>

Base classes

classNode
classOutputSpecProvider
classConfigJsonProvider
classConfigJsonOverride
classConfigJsonConsumer

Public Constructors Index

DetessDequant (DetessDequantOptions opt={})

Public Member Functions Index

std::stringkind () const override
NodeCapsBehaviorcaps_behavior () const override
boolhas_config_json () const override
boolwire_input_names (const std::vector< std::string > &upstream_names, const std::string &tag) override
std::stringbackend_fragment (int node_index) const override
std::vector< std::string >element_names (int node_index) const override
OutputSpecoutput_spec (const OutputSpec &input) const override
const nlohmann::json *config_json () const override
booloverride_config_json (const std::function< void(nlohmann::json &)> &edit, const std::string &tag) override
voidapply_upstream_config (const nlohmann::json &upstream, const std::string &upstream_kind) override
const DetessDequantOptions &options () const
const std::string &config_path () const

Private Member Attributes Index

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

Definition at line 41 of file DetessDequant.h.

Public Constructors

DetessDequant()

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

Definition at line 47 of file DetessDequant.h.

Public Member Functions

apply_upstream_config()

void simaai::neat::DetessDequant::apply_upstream_config (const nlohmann::json & upstream, const std::string & upstream_kind)

Definition at line 68 of file DetessDequant.h.

backend_fragment()

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

Definition at line 61 of file DetessDequant.h.

caps_behavior()

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

Definition at line 53 of file DetessDequant.h.

53 NodeCapsBehavior caps_behavior() const override {
54 return NodeCapsBehavior::Static;
55 }

config_json()

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

Definition at line 65 of file DetessDequant.h.

config_path()

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

Definition at line 74 of file DetessDequant.h.

74 const std::string& config_path() const {
75 return config_path_;
76 }

element_names()

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

Definition at line 62 of file DetessDequant.h.

has_config_json()

bool simaai::neat::DetessDequant::has_config_json ()
inline

Definition at line 56 of file DetessDequant.h.

56 bool has_config_json() const override {
57 return true;
58 }

kind()

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

Definition at line 50 of file DetessDequant.h.

50 std::string kind() const override {
51 return "DetessDequant";
52 }

options()

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

Definition at line 71 of file DetessDequant.h.

72 return opt_;
73 }

output_spec()

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

Definition at line 63 of file DetessDequant.h.

override_config_json()

bool simaai::neat::DetessDequant::override_config_json (const std::function< void(nlohmann::json &)> & edit, const std::string & tag)

Definition at line 66 of file DetessDequant.h.

wire_input_names()

bool simaai::neat::DetessDequant::wire_input_names (const std::vector< std::string > & upstream_names, const std::string & tag)

Definition at line 59 of file DetessDequant.h.

Private Member Attributes

config_holder_

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

Definition at line 80 of file DetessDequant.h.

80 std::shared_ptr<ConfigHolder> config_holder_;

config_path_

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

Definition at line 81 of file DetessDequant.h.

81 std::string config_path_;

opt_

DetessDequantOptions simaai::neat::DetessDequant::opt_

Definition at line 79 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.1.