|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
#include <OnnxProperty.h>


Classes | |
| struct | NdWrapper |
| struct | NdWrapperBase |
Public Member Functions | |
| virtual | ~OnnxProperty ()=default |
| OnnxProperty (std::map< std::string, std::unique_ptr< NdWrapperBase > > &&output) | |
| template<typename T> | |
| const Euclid::NdArray::NdArray< T > & | getData (const std::string &key) const |
| Public Member Functions inherited from SourceXtractor::Property | |
| virtual | ~Property ()=default |
Private Attributes | |
| std::map< std::string, std::unique_ptr< NdWrapperBase > > | m_output |
Wraps the tensors outputted by the ONNX runtime
Definition at line 30 of file OnnxProperty.h.
|
virtualdefault |
Destructor
|
inlineexplicit |
Constructor
| output | A map where the key corresponds to the path of one of the ONNX models, and the value to the corresponding output tensor |
Definition at line 62 of file OnnxProperty.h.
References m_output, and std::move().

|
inline |
| key | Path to a registered ONNX model |
Definition at line 71 of file OnnxProperty.h.
References SourceXtractor::OnnxProperty::NdWrapper< T >::m_ndarray, and m_output.
|
private |
Definition at line 76 of file OnnxProperty.h.
Referenced by getData(), and OnnxProperty().