#include <onnxruntime_cxx_api.h>
◆ CustomOpApi()
| Ort::CustomOpApi::CustomOpApi |
( |
const OrtApi & |
api | ) |
|
|
inline |
◆ GetDimensions()
| void Ort::CustomOpApi::GetDimensions |
( |
const OrtTensorTypeAndShapeInfo * |
info, |
|
|
int64_t * |
dim_values, |
|
|
size_t |
dim_values_length |
|
) |
| |
◆ GetDimensionsCount()
◆ GetTensorData()
template<typename T >
| const T * Ort::CustomOpApi::GetTensorData |
( |
const OrtValue * |
value | ) |
|
◆ GetTensorElementType()
◆ GetTensorMemoryInfo()
◆ GetTensorMutableData()
template<typename T >
| T * Ort::CustomOpApi::GetTensorMutableData |
( |
OrtValue * |
value | ) |
|
◆ GetTensorShape()
◆ GetTensorShapeElementCount()
◆ GetTensorTypeAndShape()
◆ KernelContext_GetGPUComputeStream()
| void * Ort::CustomOpApi::KernelContext_GetGPUComputeStream |
( |
const OrtKernelContext * |
context | ) |
|
◆ KernelContext_GetInput()
◆ KernelContext_GetInputCount()
| size_t Ort::CustomOpApi::KernelContext_GetInputCount |
( |
const OrtKernelContext * |
context | ) |
|
◆ KernelContext_GetOutput()
| OrtValue * Ort::CustomOpApi::KernelContext_GetOutput |
( |
OrtKernelContext * |
context, |
|
|
size_t |
index, |
|
|
const int64_t * |
dim_values, |
|
|
size_t |
dim_count |
|
) |
| |
◆ KernelContext_GetOutputCount()
| size_t Ort::CustomOpApi::KernelContext_GetOutputCount |
( |
const OrtKernelContext * |
context | ) |
|
◆ KernelInfoGetAttribute()
template<typename T >
| T Ort::CustomOpApi::KernelInfoGetAttribute |
( |
const OrtKernelInfo * |
info, |
|
|
const char * |
name |
|
) |
| |
◆ ReleaseTensorTypeAndShapeInfo()
◆ SetDimensions()
◆ ThrowOnError()
| void Ort::CustomOpApi::ThrowOnError |
( |
OrtStatus * |
result | ) |
|