SourceXtractorPlusPlus  0.16
Please provide a description of the project.
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_
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
OnnxSourceTask(const std::vector< OnnxModelInfo > &model_infos)
~OnnxSourceTask() override=default
const std::vector< OnnxModelInfo > & m_model_infos
The SourceInterface is an abstract "source" that has properties attached to it.
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36