OnnxRuntime
|
All C++ Onnxruntime APIs are defined inside this namespace. More...
Namespaces | |
namespace | detail |
Classes | |
struct | Allocator |
struct | AllocatorWithDefaultOptions |
struct | ArenaCfg |
it is a structure that represents the configuration of an arena based allocator More... | |
struct | Base |
Used internally by the C++ API. C++ wrapper types inherit from this. More... | |
struct | BFloat16_t |
bfloat16 (Brain Floating Point) data type More... | |
struct | CustomOpApi |
struct | CustomOpBase |
struct | CustomOpDomain |
Custom Op Domain. More... | |
struct | Env |
The Env (Environment) More... | |
struct | Exception |
All C++ methods that can fail will throw an exception of this type. More... | |
struct | Float16_t |
IEEE 754 half-precision floating point data type. More... | |
struct | Global |
struct | IoBinding |
struct | MapTypeInfo |
Wrapper around OrtMapTypeInfo. More... | |
struct | MemoryAllocation |
struct | MemoryInfo |
struct | ModelMetadata |
Wrapper around OrtModelMetadata. More... | |
struct | RunOptions |
struct | SequenceTypeInfo |
Wrapper around OrtSequenceTypeInfo. More... | |
struct | Session |
Wrapper around OrtSession. More... | |
struct | SessionOptions |
Options object used when creating a new Session object. More... | |
struct | TensorTypeAndShapeInfo |
Wrapper around OrtTensorTypeAndShapeInfo. More... | |
struct | TypeInfo |
struct | Unowned |
Wraps an object that inherits from Ort::Base and stops it from deleting the contained pointer on destruction. More... | |
struct | Value |
Typedefs | |
using | AllocatedStringPtr = std::unique_ptr< char, detail::AllocatedFree > |
unique_ptr typedef used to own strings allocated by OrtAllocators and release them at the end of the scope. The lifespan of the given allocator must eclipse the lifespan of AllocatedStringPtr instance More... | |
Functions | |
const OrtApi & | GetApi () |
This returns a reference to the OrtApi interface in use. More... | |
std::vector< std::string > | GetAvailableProviders () |
This is a C++ wrapper for OrtApi::GetAvailableProviders() and returns a vector of strings representing the available execution providers. More... | |
void | OrtRelease (OrtAllocator *ptr) |
void | OrtRelease (OrtMemoryInfo *ptr) |
void | OrtRelease (OrtCustomOpDomain *ptr) |
void | OrtRelease (OrtEnv *ptr) |
void | OrtRelease (OrtRunOptions *ptr) |
void | OrtRelease (OrtSession *ptr) |
void | OrtRelease (OrtSessionOptions *ptr) |
void | OrtRelease (OrtTensorTypeAndShapeInfo *ptr) |
void | OrtRelease (OrtSequenceTypeInfo *ptr) |
void | OrtRelease (OrtMapTypeInfo *ptr) |
void | OrtRelease (OrtTypeInfo *ptr) |
void | OrtRelease (OrtValue *ptr) |
void | OrtRelease (OrtModelMetadata *ptr) |
void | OrtRelease (OrtThreadingOptions *ptr) |
void | OrtRelease (OrtIoBinding *ptr) |
void | OrtRelease (OrtArenaCfg *ptr) |
All C++ Onnxruntime APIs are defined inside this namespace.
using Ort::AllocatedStringPtr = typedef std::unique_ptr<char, detail::AllocatedFree> |
unique_ptr typedef used to own strings allocated by OrtAllocators and release them at the end of the scope. The lifespan of the given allocator must eclipse the lifespan of AllocatedStringPtr instance
std::vector< std::string > Ort::GetAvailableProviders | ( | ) |
This is a C++ wrapper for OrtApi::GetAvailableProviders() and returns a vector of strings representing the available execution providers.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |