ONNX Runtime
Loading...
Searching...
No Matches
Ort::SessionOptions Struct Reference

Wrapper around OrtSessionOptions. More...

#include <onnxruntime_cxx_api.h>

Inherits Ort::detail::SessionOptionsImpl< T >.

Public Member Functions

 SessionOptions (std::nullptr_t)
 Create an empty SessionOptions object, must be assigned a valid one to be used.
 
 SessionOptions ()
 Wraps OrtApi::CreateSessionOptions.
 
 SessionOptions (OrtSessionOptions *p)
 Used for interop with the C API.
 
UnownedSessionOptions GetUnowned () const
 
ConstSessionOptions GetConst () const
 

Detailed Description

Wrapper around OrtSessionOptions.

Constructor & Destructor Documentation

◆ SessionOptions() [1/3]

Ort::SessionOptions::SessionOptions ( std::nullptr_t  )
inlineexplicit

Create an empty SessionOptions object, must be assigned a valid one to be used.

◆ SessionOptions() [2/3]

Ort::SessionOptions::SessionOptions ( )

◆ SessionOptions() [3/3]

Ort::SessionOptions::SessionOptions ( OrtSessionOptions p)
inlineexplicit

Used for interop with the C API.

Member Function Documentation

◆ GetConst()

ConstSessionOptions Ort::SessionOptions::GetConst ( ) const
inline

◆ GetUnowned()

UnownedSessionOptions Ort::SessionOptions::GetUnowned ( ) const
inline