HDK
|
Provide a specialization for your C++ Non-tensor type so your implementation FromDataTypeContainer/ToDataTypeContainer functions correctly. Otherwise you get a default implementation which may not be what you need/want. More...
#include <data_types.h>
Static Public Member Functions | |
static void | FromContainer (MLDataType, const void *, size_t, OrtValue &) |
static void | ToContainer (const OrtValue &, size_t, void *) |
Provide a specialization for your C++ Non-tensor type so your implementation FromDataTypeContainer/ToDataTypeContainer functions correctly. Otherwise you get a default implementation which may not be what you need/want.
This class is used to create OrtValue, fetch data from OrtValue via C/C++ APIs
Definition at line 670 of file data_types.h.
|
inlinestatic |
Definition at line 671 of file data_types.h.
|
inlinestatic |
Definition at line 674 of file data_types.h.