#include <OrtInterface.h>
|
| OrtModel ()=default |
|
| OrtModel (std::unordered_map< std::string, std::string > optionsMap) |
|
void | init (std::unordered_map< std::string, std::string > optionsMap) |
|
void | reset (std::unordered_map< std::string, std::string >) |
|
virtual | ~OrtModel ()=default |
|
template<class I , class O > |
std::vector< O > | v2v (std::vector< I > &, bool=true) |
|
template<class I , class O > |
std::vector< O > | inference (std::vector< I > &) |
|
template<class I , class O > |
std::vector< O > | inference (std::vector< std::vector< I > > &) |
|
void | resetSession () |
|
std::vector< std::vector< int64_t > > | getNumInputNodes () const |
|
std::vector< std::vector< int64_t > > | getNumOutputNodes () const |
|
std::vector< std::string > | getInputNames () const |
|
std::vector< std::string > | getOutputNames () const |
|
void | setActiveThreads (int threads) |
|
template<> |
std::vector< float > | inference (std::vector< float > &input) |
|
Definition at line 35 of file OrtInterface.h.
◆ OrtModel() [1/2]
o2::ml::OrtModel::OrtModel |
( |
| ) |
|
|
default |
◆ OrtModel() [2/2]
o2::ml::OrtModel::OrtModel |
( |
std::unordered_map< std::string, std::string > |
optionsMap | ) |
|
|
inline |
◆ ~OrtModel()
virtual o2::ml::OrtModel::~OrtModel |
( |
| ) |
|
|
virtualdefault |
◆ getInputNames()
std::vector< std::string > o2::ml::OrtModel::getInputNames |
( |
| ) |
const |
|
inline |
◆ getNumInputNodes()
std::vector< std::vector< int64_t > > o2::ml::OrtModel::getNumInputNodes |
( |
| ) |
const |
|
inline |
◆ getNumOutputNodes()
std::vector< std::vector< int64_t > > o2::ml::OrtModel::getNumOutputNodes |
( |
| ) |
const |
|
inline |
◆ getOutputNames()
std::vector< std::string > o2::ml::OrtModel::getOutputNames |
( |
| ) |
const |
|
inline |
◆ inference() [1/3]
template<>
std::vector< float > o2::ml::OrtModel::inference |
( |
std::vector< float > & |
input | ) |
|
◆ inference() [2/3]
template<class I , class O >
std::vector< O > o2::ml::OrtModel::inference |
( |
std::vector< I > & |
input | ) |
|
◆ inference() [3/3]
template<class I , class O >
std::vector< O > o2::ml::OrtModel::inference |
( |
std::vector< std::vector< I > > & |
input | ) |
|
◆ init()
void o2::ml::OrtModel::init |
( |
std::unordered_map< std::string, std::string > |
optionsMap | ) |
|
|
inline |
◆ reset()
void o2::ml::OrtModel::reset |
( |
std::unordered_map< std::string, std::string > |
optionsMap | ) |
|
◆ resetSession()
void o2::ml::OrtModel::resetSession |
( |
| ) |
|
◆ setActiveThreads()
void o2::ml::OrtModel::setActiveThreads |
( |
int |
threads | ) |
|
|
inline |
◆ v2v()
template<class I , class O >
std::vector< O > o2::ml::OrtModel::v2v |
( |
std::vector< I > & |
input, |
|
|
bool |
clearInput = true |
|
) |
| |
The documentation for this class was generated from the following files: