HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ort::IoBinding Struct Reference

Wrapper around ::OrtIoBinding. More...

#include <onnxruntime_cxx_api.h>

+ Inheritance diagram for Ort::IoBinding:

Public Member Functions

 IoBinding (std::nullptr_t)
 Create an empty object for convenience. Sometimes, we want to initialize members later. More...
 
 IoBinding (Session &session)
 
ConstIoBinding GetConst () const
 
UnownedIoBinding GetUnowned () const
 
- Public Member Functions inherited from Ort::detail::IoBindingImpl< OrtIoBinding >
void BindInput (const char *name, const Value &)
 
void BindOutput (const char *name, const Value &)
 
void BindOutput (const char *name, const OrtMemoryInfo *)
 
void ClearBoundInputs ()
 
void ClearBoundOutputs ()
 
void SynchronizeInputs ()
 
void SynchronizeOutputs ()
 
- Public Member Functions inherited from Ort::detail::ConstIoBindingImpl< OrtIoBinding >
std::vector< std::stringGetOutputNames () const
 
std::vector< std::stringGetOutputNames (OrtAllocator *) const
 
std::vector< ValueGetOutputValues () const
 
std::vector< ValueGetOutputValues (OrtAllocator *) const
 
- Public Member Functions inherited from Ort::detail::Base< OrtIoBinding >
constexpr Base ()=default
 
constexpr Base (contained_type *p) noexcept
 
 Base (const Base &)=delete
 
 Base (Base &&v) noexcept
 
 ~Base ()
 
Baseoperator= (const Base &)=delete
 
Baseoperator= (Base &&v) noexcept
 
constexpr operator contained_type * () const noexcept
 
contained_typerelease ()
 Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. More...
 

Additional Inherited Members

- Public Types inherited from Ort::detail::IoBindingImpl< OrtIoBinding >
using B = ConstIoBindingImpl< OrtIoBinding >
 
using B = Base< OrtIoBinding >
 
- Public Types inherited from Ort::detail::ConstIoBindingImpl< OrtIoBinding >
using B = Base< OrtIoBinding >
 
- Public Types inherited from Ort::detail::Base< OrtIoBinding >
using contained_type = OrtIoBinding
 
- Protected Attributes inherited from Ort::detail::Base< OrtIoBinding >
contained_typep_
 

Detailed Description

Wrapper around ::OrtIoBinding.

Definition at line 1457 of file onnxruntime_cxx_api.h.

Constructor & Destructor Documentation

Ort::IoBinding::IoBinding ( std::nullptr_t  )
inlineexplicit

Create an empty object for convenience. Sometimes, we want to initialize members later.

Definition at line 1458 of file onnxruntime_cxx_api.h.

Ort::IoBinding::IoBinding ( Session session)
inlineexplicit

Definition at line 363 of file onnxruntime_cxx_inline.h.

Member Function Documentation

ConstIoBinding Ort::IoBinding::GetConst ( ) const
inline

Definition at line 1460 of file onnxruntime_cxx_api.h.

UnownedIoBinding Ort::IoBinding::GetUnowned ( ) const
inline

Definition at line 1461 of file onnxruntime_cxx_api.h.


The documentation for this struct was generated from the following files: