HDK
|
#include <ort_value.h>
Public Member Functions | |
OrtValue () | |
~OrtValue ()=default | |
OrtValue (void *pData, onnxruntime::MLDataType type, onnxruntime::DeleteFunc deleter) | |
void | Init (void *pData, onnxruntime::MLDataType type, onnxruntime::DeleteFunc deleter) |
void | Init (void *pData, onnxruntime::MLDataType type, const std::function< void(void *)> &deleter) |
bool | IsAllocated () const |
template<typename T > | |
const T & | Get () const |
template<typename T > | |
T * | GetMutable () |
bool | IsTensor () const noexcept |
bool | IsTensorSequence () const noexcept |
bool | IsSparseTensor () const |
onnxruntime::MLDataType | Type () const |
Represents both tensors and non-tensors.
Definition at line 26 of file ort_value.h.
|
inline |
Definition at line 28 of file ort_value.h.
|
default |
|
inline |
Definition at line 31 of file ort_value.h.
|
inline |
Definition at line 50 of file ort_value.h.
|
inline |
Definition at line 57 of file ort_value.h.
|
inline |
Definition at line 35 of file ort_value.h.
|
inline |
Definition at line 40 of file ort_value.h.
|
inline |
Definition at line 45 of file ort_value.h.
|
inline |
Definition at line 70 of file ort_value.h.
|
inlinenoexcept |
Definition at line 62 of file ort_value.h.
|
inlinenoexcept |
Definition at line 66 of file ort_value.h.
|
inline |
Definition at line 74 of file ort_value.h.