SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
#include <OnnxSourceTask.h>
Public Member Functions | |
OnnxSourceTask (const std::vector< OnnxModel > &models) | |
~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< OnnxModel > & | m_models |
Run a set of ONNX models over a source
Definition at line 29 of file OnnxSourceTask.h.
SourceXtractor::OnnxSourceTask::OnnxSourceTask | ( | const std::vector< OnnxModel > & | models | ) |
Constructor
models | Reference to the loaded ONNX models |
Definition at line 48 of file OnnxSourceTask.cpp.
|
overridedefault |
Destructor
|
overridevirtual |
Computes one or more properties for the Source.
Implements SourceXtractor::SourceTask.
Definition at line 102 of file OnnxSourceTask.cpp.
References SourceXtractor::SourceInterface::getProperty(), m_models, std::move(), and SourceXtractor::SourceInterface::setProperty().
|
private |
Definition at line 48 of file OnnxSourceTask.h.
Referenced by computeProperties().