![]() |
ONNX Runtime
|
Descriptor for creating a tensor from imported external memory. More...
#include <onnxruntime_c_api.h>
Public Attributes | |
| uint32_t | version |
| ONNXTensorElementDataType | element_type |
| const int64_t * | shape |
| size_t | rank |
| size_t | offset_bytes |
Descriptor for creating a tensor from imported external memory.
| ONNXTensorElementDataType OrtExternalTensorDescriptor::element_type |
Data type of tensor elements
| size_t OrtExternalTensorDescriptor::offset_bytes |
Additional offset within imported memory (default 0). Applied relative to OrtExternalMemoryDescriptor::offset_bytes. Enables multiple tensors from the same imported memory handle.
| size_t OrtExternalTensorDescriptor::rank |
Number of dimensions
| const int64_t* OrtExternalTensorDescriptor::shape |
Array of dimension sizes
| uint32_t OrtExternalTensorDescriptor::version |
Must be ORT_API_VERSION