![]() |
ONNX Runtime
|
Wrapper around OrtModel. More...
#include <onnxruntime_cxx_api.h>
Public Types | |
using | DomainOpsetPair = std::pair< std::string, int > |
![]() | |
using | B = Ort::detail::Base< OrtModel > |
![]() | |
using | contained_type = T |
Public Member Functions | |
Model (std::nullptr_t) | |
No instance is created. | |
Model (OrtModel *p) | |
Take ownership of a pointer created by C API. | |
Model (const std::vector< DomainOpsetPair > &opsets) | |
ConstModel | GetConst () const |
![]() | |
void | AddGraph (Graph &graph) |
![]() | |
constexpr | Base ()=default |
constexpr | Base (contained_type *p) noexcept |
~Base () | |
Base (const Base &)=delete | |
Base & | operator= (const Base &)=delete |
Base (Base &&v) noexcept | |
Base & | operator= (Base &&v) noexcept |
constexpr | operator contained_type * () const noexcept |
contained_type * | release () |
Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. | |
Additional Inherited Members | |
![]() | |
contained_type * | p_ {} |
Wrapper around OrtModel.
using Ort::Model::DomainOpsetPair = std::pair<std::string, int> |
|
inlineexplicit |
No instance is created.
|
inlineexplicit |
Take ownership of a pointer created by C API.
|
explicit |
|
inline |