SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OnnxSourceTask.h
Go to the documentation of this file.
1 
18 #ifndef _SEIMPLEMENTATION_PLUGIN_ONNXSOURCETASK_H_
19 #define _SEIMPLEMENTATION_PLUGIN_ONNXSOURCETASK_H_
20 
23 
24 namespace SourceXtractor {
25 
29 class OnnxSourceTask: public SourceTask {
30 public:
31  struct OnnxModelInfo {
34  };
35 
41  explicit OnnxSourceTask(const std::vector<OnnxModelInfo>& model_infos);
42 
46  ~OnnxSourceTask() override = default;
47 
49  void computeProperties(SourceInterface& source) const override;
50 
51 private:
52 
54 };
55 
56 } // end of namespace SourceXtractor
57 
58 #endif // _SEIMPLEMENTATION_PLUGIN_ONNXSOURCETASK_H_
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36
STL class.
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
const std::vector< OnnxModelInfo > & m_model_infos
STL class.
OnnxSourceTask(const std::vector< OnnxModelInfo > &model_infos)
~OnnxSourceTask() override=default
The SourceInterface is an abstract &quot;source&quot; that has properties attached to it.