Skip to main content

Preproc Class

Declaration

class simaai::neat::Preproc { ... }

Included Headers

#include <Preproc.h>

Base classes

classNode
classOutputSpecProvider
classConfigJsonProvider
classConfigJsonOverride
classNextCpuConfigurable

Public Constructors Index

Preproc (PreprocOptions 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
boolset_next_cpu_if_auto (const std::string &next_cpu) override
booloverride_config_json (const std::function< void(nlohmann::json &)> &edit, const std::string &tag) override
const PreprocOptions &options () const
const std::string &config_path () const
const std::string &config_snapshot_path () const
const nlohmann::json *config_json () const override

Private Member Attributes Index

PreprocOptionsopt_
std::shared_ptr< PreprocConfigHolder >config_holder_
std::stringconfig_path_
std::stringconfig_snapshot_path_

Definition at line 85 of file Preproc.h.

Public Constructors

Preproc()

simaai::neat::Preproc::Preproc (PreprocOptions opt={})
explicit

Definition at line 91 of file Preproc.h.

Public Member Functions

backend_fragment()

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

Definition at line 104 of file Preproc.h.

caps_behavior()

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

Definition at line 96 of file Preproc.h.

96 NodeCapsBehavior caps_behavior() const override {
97 return NodeCapsBehavior::Static;
98 }

config_json()

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

Definition at line 120 of file Preproc.h.

config_path()

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

Definition at line 114 of file Preproc.h.

114 const std::string& config_path() const {
115 return config_path_;
116 }

config_snapshot_path()

const std::string& simaai::neat::Preproc::config_snapshot_path ()
inline

Definition at line 117 of file Preproc.h.

117 const std::string& config_snapshot_path() const {
118 return config_snapshot_path_;
119 }

element_names()

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

Definition at line 105 of file Preproc.h.

has_config_json()

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

Definition at line 99 of file Preproc.h.

99 bool has_config_json() const override {
100 return true;
101 }

kind()

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

Definition at line 93 of file Preproc.h.

93 std::string kind() const override {
94 return "Preproc";
95 }

options()

const PreprocOptions& simaai::neat::Preproc::options ()
inline

Definition at line 111 of file Preproc.h.

111 const PreprocOptions& options() const {
112 return opt_;
113 }

output_spec()

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

Definition at line 106 of file Preproc.h.

override_config_json()

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

Definition at line 108 of file Preproc.h.

set_next_cpu_if_auto()

bool simaai::neat::Preproc::set_next_cpu_if_auto (const std::string & next_cpu)

Definition at line 107 of file Preproc.h.

wire_input_names()

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

Definition at line 102 of file Preproc.h.

Private Member Attributes

config_holder_

std::shared_ptr<PreprocConfigHolder> simaai::neat::Preproc::config_holder_

Definition at line 126 of file Preproc.h.

126 std::shared_ptr<PreprocConfigHolder> config_holder_;

config_path_

std::string simaai::neat::Preproc::config_path_

Definition at line 127 of file Preproc.h.

127 std::string config_path_;

config_snapshot_path_

std::string simaai::neat::Preproc::config_snapshot_path_

Definition at line 128 of file Preproc.h.

128 std::string config_snapshot_path_;

opt_

PreprocOptions simaai::neat::Preproc::opt_

Definition at line 125 of file Preproc.h.

123 struct PreprocConfigHolder;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.