Skip to main content

SimaArgMax Class

EV74 postprocess Node that emits the top-class index from a classification tensor. More...

Declaration

class simaai::neat::SimaArgMax { ... }

Included Headers

#include <SimaArgMax.h>

Base classes

classNode
classOutputSpecProvider

Public Constructors Index

SimaArgMax (SimaArgMaxOptions opt={})

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

boolhas_config_json () const override

Whether this Node is driven by a JSON config. More...

boolwire_input_names (const std::vector< std::string > &upstream_names, const std::string &tag) override

Legacy hook for node-local JSON wiring. 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 SimaArgMaxOptions &options () const

Inspect the Node's options. More...

Private Member Attributes Index

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

Description

EV74 postprocess Node that emits the top-class index from a classification tensor.

Definition at line 39 of file SimaArgMax.h.

Public Constructors

SimaArgMax()

simaai::neat::SimaArgMax::SimaArgMax (SimaArgMaxOptions opt={})
explicit

Construct with optional SimaArgMaxOptions.

Definition at line 42 of file SimaArgMax.h.

Public Member Functions

backend_fragment()

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

GStreamer fragment this Node emits.

Definition at line 58 of file SimaArgMax.h.

caps_behavior()

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

Whether the Node negotiates static or dynamic caps.

Definition at line 49 of file SimaArgMax.h.

49 NodeCapsBehavior caps_behavior() const override {
50 return NodeCapsBehavior::Static;
51 }

element_names()

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

Deterministic element names this Node will create.

Definition at line 60 of file SimaArgMax.h.

has_config_json()

bool simaai::neat::SimaArgMax::has_config_json ()

Whether this Node is driven by a JSON config.

Definition at line 53 of file SimaArgMax.h.

kind()

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

Type label for this Node kind.

Definition at line 45 of file SimaArgMax.h.

45 std::string kind() const override {
46 return "SimaArgMax";
47 }

options()

const SimaArgMaxOptions & simaai::neat::SimaArgMax::options ()
inline

Inspect the Node's options.

Definition at line 65 of file SimaArgMax.h.

65 const SimaArgMaxOptions& options() const {
66 return opt_;
67 }

output_spec()

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

Negotiated downstream caps produced by this Node.

Definition at line 62 of file SimaArgMax.h.

wire_input_names()

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

Legacy hook for node-local JSON wiring.

Definition at line 55 of file SimaArgMax.h.

Private Member Attributes

config_holder_

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

Definition at line 73 of file SimaArgMax.h.

73 std::shared_ptr<ConfigHolder> config_holder_;

config_path_

std::string simaai::neat::SimaArgMax::config_path_

Definition at line 74 of file SimaArgMax.h.

74 std::string config_path_;

opt_

SimaArgMaxOptions simaai::neat::SimaArgMax::opt_

Definition at line 72 of file SimaArgMax.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.