HDK
|
Wrapper around ::OrtAllocator default instance that is owned by Onnxruntime. More...
#include <onnxruntime_cxx_api.h>
Public Member Functions | |
AllocatorWithDefaultOptions (std::nullptr_t) | |
Convenience to create a class member and then replace with an instance. More... | |
AllocatorWithDefaultOptions () | |
Public Member Functions inherited from Ort::detail::AllocatorImpl< detail::Unowned< OrtAllocator > > | |
void * | Alloc (size_t size) |
MemoryAllocation | GetAllocation (size_t size) |
void | Free (void *p) |
ConstMemoryInfo | GetInfo () const |
Public Member Functions inherited from Ort::detail::Base< detail::Unowned< OrtAllocator > > | |
constexpr | Base ()=default |
constexpr | Base (contained_type *p) noexcept |
Base (const Base &)=delete | |
Base (Base &&v) noexcept | |
~Base () | |
Base & | operator= (const Base &)=delete |
Base & | operator= (Base &&v) noexcept |
constexpr | operator contained_type * () const noexcept |
contained_type * | release () |
Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. More... | |
Additional Inherited Members | |
Public Types inherited from Ort::detail::AllocatorImpl< detail::Unowned< OrtAllocator > > | |
using | B = Base< detail::Unowned< OrtAllocator > > |
Public Types inherited from Ort::detail::Base< detail::Unowned< OrtAllocator > > | |
using | contained_type = detail::Unowned< OrtAllocator > |
Protected Attributes inherited from Ort::detail::Base< detail::Unowned< OrtAllocator > > | |
contained_type * | p_ |
Wrapper around ::OrtAllocator default instance that is owned by Onnxruntime.
Definition at line 1803 of file onnxruntime_cxx_api.h.
|
inlineexplicit |
Convenience to create a class member and then replace with an instance.
Definition at line 1804 of file onnxruntime_cxx_api.h.
|
inline |
Definition at line 236 of file onnxruntime_cxx_inline.h.