|
SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
#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
|
inline |
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 std::move().
|
inline |
| key | Path to a registered ONNX model |
Definition at line 71 of file OnnxProperty.h.
References m_output.
|
private |
Definition at line 76 of file OnnxProperty.h.
Referenced by getData().
1.8.14