![]() |
ONNX Runtime
|
Wrapper around OrtExternalInitializerInfo. More...
#include <onnxruntime_cxx_api.h>
Public Types | |
using | Base = detail::ConstExternalInitializerInfoImpl< OrtExternalInitializerInfo > |
![]() | |
using | B = Base< OrtExternalInitializerInfo > |
![]() | |
using | contained_type = T |
Public Member Functions | |
ExternalInitializerInfo (std::nullptr_t) | |
ExternalInitializerInfo (OrtExternalInitializerInfo *p) | |
ConstExternalInitializerInfo | GetConst () const |
Wraps OrtApi::CreateExternalInitializerInfo. | |
ExternalInitializerInfo (const char *filepath, int64_t file_offset, size_t byte_size) | |
Wrapper around CreateExternalInitializerInfo that does not throw an exception. | |
![]() | |
const std::basic_string< char > | GetFilePath () const |
int64_t | GetFileOffset () const |
size_t | GetByteSize () const |
![]() | |
constexpr | Base ()=default |
constexpr | Base (contained_type *p) noexcept |
~Base () | |
Base (const Base &)=delete | |
Base & | operator= (const Base &)=delete |
Base (Base &&v) noexcept | |
Base & | operator= (Base &&v) noexcept |
constexpr | operator contained_type * () const noexcept |
constexpr contained_type & | operator* () const noexcept |
contained_type * | release () |
Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. | |
Static Public Member Functions | |
static Status | Create (const char *filepath, int64_t file_offset, size_t byte_size, ExternalInitializerInfo &out) |
Additional Inherited Members | |
![]() | |
contained_type * | p_ {} |
Wrapper around OrtExternalInitializerInfo.
using Ort::ExternalInitializerInfo::Base = detail::ConstExternalInitializerInfoImpl<OrtExternalInitializerInfo> |
|
inlineexplicit |
|
inlineexplicit |
Ort::ExternalInitializerInfo::ExternalInitializerInfo | ( | const char * | filepath, |
int64_t | file_offset, | ||
size_t | byte_size | ||
) |
Wrapper around CreateExternalInitializerInfo that does not throw an exception.
|
static |
|
inline |