Wrapper around OrtModelMetadata.
More...
#include <onnxruntime_cxx_api.h>
Inherits Ort::Base< OrtModelMetadata >.
Wrapper around OrtModelMetadata.
◆ ModelMetadata() [1/2]
Ort::ModelMetadata::ModelMetadata |
( |
std::nullptr_t |
| ) |
|
|
inlineexplicit |
Create an empty ModelMetadata object, must be assigned a valid one to be used.
◆ ModelMetadata() [2/2]
Used for interop with the C API.
◆ GetCustomMetadataMapKeys()
char ** Ort::ModelMetadata::GetCustomMetadataMapKeys |
( |
OrtAllocator * |
allocator, |
|
|
int64_t & |
num_keys |
|
) |
| const |
◆ GetDescription()
char * Ort::ModelMetadata::GetDescription |
( |
OrtAllocator * |
allocator | ) |
const |
◆ GetDomain()
char * Ort::ModelMetadata::GetDomain |
( |
OrtAllocator * |
allocator | ) |
const |
◆ GetGraphDescription()
char * Ort::ModelMetadata::GetGraphDescription |
( |
OrtAllocator * |
allocator | ) |
const |
◆ GetGraphName()
char * Ort::ModelMetadata::GetGraphName |
( |
OrtAllocator * |
allocator | ) |
const |
◆ GetProducerName()
char * Ort::ModelMetadata::GetProducerName |
( |
OrtAllocator * |
allocator | ) |
const |
◆ GetVersion()
int64_t Ort::ModelMetadata::GetVersion |
( |
| ) |
const |
◆ LookupCustomMetadataMap()
char * Ort::ModelMetadata::LookupCustomMetadataMap |
( |
const char * |
key, |
|
|
OrtAllocator * |
allocator |
|
) |
| const |