OnnxRuntime
OrtCustomOp Struct Reference

#include <onnxruntime_c_api.h>

Inherited by Ort::CustomOpBase< TOp, TKernel >.

Public Attributes

uint32_t version
 
void *(* CreateKernel )(const struct OrtCustomOp *op, const OrtApi *api, const OrtKernelInfo *info)
 
const char *(* GetName )(const struct OrtCustomOp *op)
 
const char *(* GetExecutionProviderType )(const struct OrtCustomOp *op)
 
ONNXTensorElementDataType(* GetInputType )(const struct OrtCustomOp *op, size_t index)
 
size_t(* GetInputTypeCount )(const struct OrtCustomOp *op)
 
ONNXTensorElementDataType(* GetOutputType )(const struct OrtCustomOp *op, size_t index)
 
size_t(* GetOutputTypeCount )(const struct OrtCustomOp *op)
 
void(* KernelCompute )(void *op_kernel, OrtKernelContext *context)
 
void(* KernelDestroy )(void *op_kernel)
 
OrtCustomOpInputOutputCharacteristic(* GetInputCharacteristic )(const struct OrtCustomOp *op, size_t index)
 
OrtCustomOpInputOutputCharacteristic(* GetOutputCharacteristic )(const struct OrtCustomOp *op, size_t index)
 

Member Data Documentation

◆ CreateKernel

void *( * OrtCustomOp::CreateKernel) (const struct OrtCustomOp *op, const OrtApi *api, const OrtKernelInfo *info)

◆ GetExecutionProviderType

const char *( * OrtCustomOp::GetExecutionProviderType) (const struct OrtCustomOp *op)

◆ GetInputCharacteristic

OrtCustomOpInputOutputCharacteristic( * OrtCustomOp::GetInputCharacteristic) (const struct OrtCustomOp *op, size_t index)

◆ GetInputType

ONNXTensorElementDataType( * OrtCustomOp::GetInputType) (const struct OrtCustomOp *op, size_t index)

◆ GetInputTypeCount

size_t( * OrtCustomOp::GetInputTypeCount) (const struct OrtCustomOp *op)

◆ GetName

const char *( * OrtCustomOp::GetName) (const struct OrtCustomOp *op)

◆ GetOutputCharacteristic

OrtCustomOpInputOutputCharacteristic( * OrtCustomOp::GetOutputCharacteristic) (const struct OrtCustomOp *op, size_t index)

◆ GetOutputType

ONNXTensorElementDataType( * OrtCustomOp::GetOutputType) (const struct OrtCustomOp *op, size_t index)

◆ GetOutputTypeCount

size_t( * OrtCustomOp::GetOutputTypeCount) (const struct OrtCustomOp *op)

◆ KernelCompute

void( * OrtCustomOp::KernelCompute) (void *op_kernel, OrtKernelContext *context)

◆ KernelDestroy

void( * OrtCustomOp::KernelDestroy) (void *op_kernel)

◆ version

uint32_t OrtCustomOp::version