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

Wrapper around OrtAllocator. More...

#include <onnxruntime_cxx_api.h>

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

Public Member Functions

 Allocator (std::nullptr_t)
 Convenience to create a class member and then replace with an instance.
 
 Allocator (const Session &session, const OrtMemoryInfo *)
 

Detailed Description

Wrapper around OrtAllocator.

Constructor & Destructor Documentation

◆ Allocator() [1/2]

Ort::Allocator::Allocator ( std::nullptr_t  )
inlineexplicit

Convenience to create a class member and then replace with an instance.

◆ Allocator() [2/2]

Ort::Allocator::Allocator ( const Session session,
const OrtMemoryInfo  
)