SourceXtractorPlusPlus  0.16
Please provide a description of the project.
Classes | Public Member Functions | Private Attributes | List of all members
SourceXtractor::OnnxSourceTask Class Reference

#include <OnnxSourceTask.h>

Inheritance diagram for SourceXtractor::OnnxSourceTask:
[legend]
Collaboration diagram for SourceXtractor::OnnxSourceTask:
[legend]

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...
 
- Public Member Functions inherited from SourceXtractor::SourceTask
virtual ~SourceTask ()=default
 Destructor. More...
 
- Public Member Functions inherited from SourceXtractor::Task
virtual ~Task ()=default
 Destructor. More...
 

Private Attributes

const std::vector< OnnxModelInfo > & m_model_infos
 

Detailed Description

Run a set of ONNX models over a source

Definition at line 29 of file OnnxSourceTask.h.

Constructor & Destructor Documentation

◆ OnnxSourceTask()

SourceXtractor::OnnxSourceTask::OnnxSourceTask ( const std::vector< OnnxModelInfo > &  model_infos)
explicit

Constructor

Parameters
modelsReference to the loaded ONNX models

Definition at line 50 of file OnnxSourceTask.cpp.

◆ ~OnnxSourceTask()

SourceXtractor::OnnxSourceTask::~OnnxSourceTask ( )
overridedefault

Destructor

Member Function Documentation

◆ computeProperties()

void SourceXtractor::OnnxSourceTask::computeProperties ( SourceXtractor::SourceInterface source) const
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().

Here is the call graph for this function:

Member Data Documentation

◆ m_model_infos

const std::vector<OnnxModelInfo>& SourceXtractor::OnnxSourceTask::m_model_infos
private

Definition at line 53 of file OnnxSourceTask.h.

Referenced by computeProperties().


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