SourceXtractorPlusPlus
0.16
Please provide a description of the project.
|
#include <OnnxSourceTask.h>
Classes | |
struct | OnnxModelInfo |
Public Member Functions | |
OnnxSourceTask (const std::vector< OnnxModelInfo > &model_infos) | |
~OnnxSourceTask () override=default | |
void | computeProperties (SourceInterface &source) const override |
Computes one or more properties for the Source. More... | |
![]() | |
virtual | ~SourceTask ()=default |
Destructor. More... | |
![]() | |
virtual | ~Task ()=default |
Destructor. More... | |
Private Attributes | |
const std::vector< OnnxModelInfo > & | m_model_infos |
Run a set of ONNX models over a source
Definition at line 29 of file OnnxSourceTask.h.
|
explicit |
Constructor
models | Reference to the loaded ONNX models |
Definition at line 50 of file OnnxSourceTask.cpp.
|
overridedefault |
Destructor
|
overridevirtual |
Computes one or more properties for the Source.
Implements SourceXtractor::SourceTask.
Definition at line 93 of file OnnxSourceTask.cpp.
References SourceXtractor::SourceInterface::getProperty(), m_model_infos, std::move(), and SourceXtractor::SourceInterface::setProperty().
|
private |
Definition at line 53 of file OnnxSourceTask.h.
Referenced by computeProperties().