HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ort::CustomOpBase< TOp, TKernel > Struct Template Reference

#include <onnxruntime_cxx_api.h>

+ Inheritance diagram for Ort::CustomOpBase< TOp, TKernel >:

Public Member Functions

 CustomOpBase ()
 
const char * GetExecutionProviderType () const
 
OrtCustomOpInputOutputCharacteristic GetInputCharacteristic (size_t) const
 
OrtCustomOpInputOutputCharacteristic GetOutputCharacteristic (size_t) const
 
OrtMemType GetInputMemoryType (size_t) const
 
int GetVariadicInputMinArity () const
 
bool GetVariadicInputHomogeneity () const
 
int GetVariadicOutputMinArity () const
 
bool GetVariadicOutputHomogeneity () const
 
std::vector< std::stringGetSessionConfigKeys () const
 
- Public Member Functions inherited from OrtCustomOp
void *ORT_API_CALLCreateKernel (_In_ const struct OrtCustomOp *op, _In_ const OrtApi *api, _In_ const OrtKernelInfo *info)
 
const char *ORT_API_CALLGetName (_In_ const struct OrtCustomOp *op)
 
const char *ORT_API_CALLGetExecutionProviderType (_In_ const struct OrtCustomOp *op)
 
 ONNXTensorElementDataType (ORT_API_CALL *GetInputType)(_In_ const struct OrtCustomOp *op
 
 size_t (ORT_API_CALL *GetInputTypeCount)(_In_ const struct OrtCustomOp *op)
 
 ONNXTensorElementDataType (ORT_API_CALL *GetOutputType)(_In_ const struct OrtCustomOp *op
 
 size_t (ORT_API_CALL *GetOutputTypeCount)(_In_ const struct OrtCustomOp *op)
 
 void (ORT_API_CALL *KernelCompute)(_In_ void *op_kernel
 
 void (ORT_API_CALL *KernelDestroy)(_In_ void *op_kernel)
 
 OrtCustomOpInputOutputCharacteristic (ORT_API_CALL *GetInputCharacteristic)(_In_ const struct OrtCustomOp *op
 
 OrtCustomOpInputOutputCharacteristic (ORT_API_CALL *GetOutputCharacteristic)(_In_ const struct OrtCustomOp *op
 
 OrtMemType (ORT_API_CALL *GetInputMemoryType)(_In_ const struct OrtCustomOp *op
 
 int (ORT_API_CALL *GetVariadicInputMinArity)(_In_ const struct OrtCustomOp *op)
 
 int (ORT_API_CALL *GetVariadicInputHomogeneity)(_In_ const struct OrtCustomOp *op)
 
 int (ORT_API_CALL *GetVariadicOutputMinArity)(_In_ const struct OrtCustomOp *op)
 
 int (ORT_API_CALL *GetVariadicOutputHomogeneity)(_In_ const struct OrtCustomOp *op)
 

Protected Member Functions

void GetSessionConfigs (std::unordered_map< std::string, std::string > &out, ConstSessionOptions options) const
 

Additional Inherited Members

- Public Attributes inherited from OrtCustomOp
uint32_t version
 
_In_ size_t index
 
_In_ OrtKernelContextcontext
 

Detailed Description

template<typename TOp, typename TKernel>
struct Ort::CustomOpBase< TOp, TKernel >

Definition at line 1787 of file onnxruntime_cxx_api.h.

Constructor & Destructor Documentation

template<typename TOp , typename TKernel >
Ort::CustomOpBase< TOp, TKernel >::CustomOpBase ( )
inline

Definition at line 1788 of file onnxruntime_cxx_api.h.

Member Function Documentation

template<typename TOp , typename TKernel >
const char* Ort::CustomOpBase< TOp, TKernel >::GetExecutionProviderType ( ) const
inline

Definition at line 1821 of file onnxruntime_cxx_api.h.

template<typename TOp , typename TKernel >
OrtCustomOpInputOutputCharacteristic Ort::CustomOpBase< TOp, TKernel >::GetInputCharacteristic ( size_t  ) const
inline

Definition at line 1825 of file onnxruntime_cxx_api.h.

template<typename TOp , typename TKernel >
OrtMemType Ort::CustomOpBase< TOp, TKernel >::GetInputMemoryType ( size_t  ) const
inline

Definition at line 1834 of file onnxruntime_cxx_api.h.

template<typename TOp , typename TKernel >
OrtCustomOpInputOutputCharacteristic Ort::CustomOpBase< TOp, TKernel >::GetOutputCharacteristic ( size_t  ) const
inline

Definition at line 1829 of file onnxruntime_cxx_api.h.

template<typename TOp , typename TKernel >
std::vector<std::string> Ort::CustomOpBase< TOp, TKernel >::GetSessionConfigKeys ( ) const
inline

Definition at line 1865 of file onnxruntime_cxx_api.h.

template<typename TOp , typename TKernel >
void Ort::CustomOpBase< TOp, TKernel >::GetSessionConfigs ( std::unordered_map< std::string, std::string > &  out,
ConstSessionOptions  options 
) const
protected

Definition at line 1857 of file onnxruntime_cxx_inline.h.

template<typename TOp , typename TKernel >
bool Ort::CustomOpBase< TOp, TKernel >::GetVariadicInputHomogeneity ( ) const
inline

Definition at line 1846 of file onnxruntime_cxx_api.h.

template<typename TOp , typename TKernel >
int Ort::CustomOpBase< TOp, TKernel >::GetVariadicInputMinArity ( ) const
inline

Definition at line 1840 of file onnxruntime_cxx_api.h.

template<typename TOp , typename TKernel >
bool Ort::CustomOpBase< TOp, TKernel >::GetVariadicOutputHomogeneity ( ) const
inline

Definition at line 1858 of file onnxruntime_cxx_api.h.

template<typename TOp , typename TKernel >
int Ort::CustomOpBase< TOp, TKernel >::GetVariadicOutputMinArity ( ) const
inline

Definition at line 1852 of file onnxruntime_cxx_api.h.


The documentation for this struct was generated from the following files: