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

Wrapper around OrtAllocator default instance that is owned by Onnxruntime. More...

#include <onnxruntime_cxx_api.h>

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

Public Member Functions

 AllocatorWithDefaultOptions (std::nullptr_t)
 Convenience to create a class member and then replace with an instance.
 
 AllocatorWithDefaultOptions ()
 

Detailed Description

Wrapper around OrtAllocator default instance that is owned by Onnxruntime.

Constructor & Destructor Documentation

◆ AllocatorWithDefaultOptions() [1/2]

Ort::AllocatorWithDefaultOptions::AllocatorWithDefaultOptions ( std::nullptr_t  )
inlineexplicit

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

◆ AllocatorWithDefaultOptions() [2/2]

Ort::AllocatorWithDefaultOptions::AllocatorWithDefaultOptions ( )