OnnxRuntime
Ort Namespace Reference

All C++ Onnxruntime APIs are defined inside this namespace. More...

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
 

Functions

const OrtApiGetApi ()
 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)
 

Detailed Description

All C++ Onnxruntime APIs are defined inside this namespace.

Function Documentation

◆ GetApi()

const OrtApi & Ort::GetApi ( )
inline

This returns a reference to the OrtApi interface in use.

◆ GetAvailableProviders()

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.

◆ OrtRelease() [1/16]

void Ort::OrtRelease ( OrtAllocator ptr)
inline

◆ OrtRelease() [2/16]

void Ort::OrtRelease ( OrtArenaCfg ptr)
inline

◆ OrtRelease() [3/16]

void Ort::OrtRelease ( OrtCustomOpDomain ptr)
inline

◆ OrtRelease() [4/16]

void Ort::OrtRelease ( OrtEnv ptr)
inline

◆ OrtRelease() [5/16]

void Ort::OrtRelease ( OrtIoBinding ptr)
inline

◆ OrtRelease() [6/16]

void Ort::OrtRelease ( OrtMapTypeInfo ptr)
inline

◆ OrtRelease() [7/16]

void Ort::OrtRelease ( OrtMemoryInfo ptr)
inline

◆ OrtRelease() [8/16]

void Ort::OrtRelease ( OrtModelMetadata ptr)
inline

◆ OrtRelease() [9/16]

void Ort::OrtRelease ( OrtRunOptions ptr)
inline

◆ OrtRelease() [10/16]

void Ort::OrtRelease ( OrtSequenceTypeInfo ptr)
inline

◆ OrtRelease() [11/16]

void Ort::OrtRelease ( OrtSession ptr)
inline

◆ OrtRelease() [12/16]

void Ort::OrtRelease ( OrtSessionOptions ptr)
inline

◆ OrtRelease() [13/16]

void Ort::OrtRelease ( OrtTensorTypeAndShapeInfo ptr)
inline

◆ OrtRelease() [14/16]

void Ort::OrtRelease ( OrtThreadingOptions ptr)
inline

◆ OrtRelease() [15/16]

void Ort::OrtRelease ( OrtTypeInfo ptr)
inline

◆ OrtRelease() [16/16]

void Ort::OrtRelease ( OrtValue ptr)
inline