From 80ccd0036cf3e504963c9ecde208abfb674ef6f0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 8 Aug 2022 18:54:25 -0700 Subject: [PATCH] [Automated]: Update C/C++ API docs (#12511) Update C/C++ API docs to commit 56bd96a Co-authored-by: skottmckay --- docs/api/c/onnxruntime__c__api_8h_source.html | 248 +++++++++--------- .../c/onnxruntime__cxx__api_8h_source.html | 30 +-- 2 files changed, 139 insertions(+), 139 deletions(-) diff --git a/docs/api/c/onnxruntime__c__api_8h_source.html b/docs/api/c/onnxruntime__c__api_8h_source.html index d4590b8a28..424ae5dade 100644 --- a/docs/api/c/onnxruntime__c__api_8h_source.html +++ b/docs/api/c/onnxruntime__c__api_8h_source.html @@ -1145,113 +1145,113 @@ $(document).ready(function(){initNavTree('onnxruntime__c__api_8h_source.html',''
3432 */
3433 ORT_CLASS_RELEASE(Op);
3434
-
3469 ORT_API2_STATUS(SessionOptionsAppendExecutionProvider, _In_ OrtSessionOptions* options,
-
3470 _In_ const char* provider_name,
-
3471 _In_reads_(num_keys) const char* const* provider_options_keys,
-
3472 _In_reads_(num_keys) const char* const* provider_options_values,
-
3473 _In_ size_t num_keys);
-
3474
-
3475 /* \brief: Get a copy of kernel info
-
3476 *
-
3477 * \param[in] info Kernel info
-
3478 * \param[out] info_copy Copy of kernel info
-
3479 *
-
3480 * \since Version 1.12.
-
3481 */
-
3482 ORT_API2_STATUS(CopyKernelInfo,
-
3483 _In_ const OrtKernelInfo* info,
-
3484 _Outptr_ OrtKernelInfo** info_copy);
-
3485
-
3486 /* \brief: Release kernel info
-
3487 *
-
3488 * \param[in] KernelInfo A copy of kernel info returned by CopyKernelInfo
-
3489 *
-
3490 * \since Version 1.12.
-
3491 */
-
3492 ORT_CLASS_RELEASE(KernelInfo);
-
3493
-
3494 /* \brief: Get the training C Api
-
3495 *
-
3496 * \since Version 1.13
-
3497 */
-
3498 const OrtTrainingApi*(ORT_API_CALL* GetTrainingApi)(uint32_t version)NO_EXCEPTION ORT_ALL_ARGS_NONNULL;
-
3499
-
3500#ifdef __cplusplus
-
3501 OrtApi(const OrtApi&)=delete; // Prevent users from accidentally copying the API structure, it should always be passed as a pointer
-
3502#endif
-
3503};
-
3504
-
3505/*
-
3506 * Steps to use a custom op:
-
3507 * 1 Create an OrtCustomOpDomain with the domain name used by the custom ops
-
3508 * 2 Create an OrtCustomOp structure for each op and add them to the domain
-
3509 * 3 Call OrtAddCustomOpDomain to add the custom domain of ops to the session options
-
3510*/
-
3511
-
3512// Specifies some characteristics of inputs/outputs of custom ops:
-
3513// Specify if the inputs/outputs are one of:
-
3514// 1) Non-optional (input/output must be present in the node)
-
3515// 2) Optional (input/output may be absent in the node)
-
3516typedef enum OrtCustomOpInputOutputCharacteristic {
-
3517 // TODO: Support 'Variadic' inputs/outputs
-
3518 INPUT_OUTPUT_REQUIRED = 0,
-
3519 INPUT_OUTPUT_OPTIONAL,
-
3520} OrtCustomOpInputOutputCharacteristic;
-
3521
-
3522/*
-
3523 * The OrtCustomOp structure defines a custom op's schema and its kernel callbacks. The callbacks are filled in by
-
3524 * the implementor of the custom op.
-
3525*/
-
3526struct OrtCustomOp {
-
3527 uint32_t version; // Must be initialized to ORT_API_VERSION
-
3528
-
3529 // This callback creates the kernel, which is a user defined parameter that is passed to the Kernel* callbacks below.
-
3530 void*(ORT_API_CALL* CreateKernel)(_In_ const struct OrtCustomOp* op, _In_ const OrtApi* api,
-
3531 _In_ const OrtKernelInfo* info);
-
3532
-
3533 // Returns the name of the op
-
3534 const char*(ORT_API_CALL* GetName)(_In_ const struct OrtCustomOp* op);
-
3535
-
3536 // Returns the type of the execution provider, return nullptr to use CPU execution provider
-
3537 const char*(ORT_API_CALL* GetExecutionProviderType)(_In_ const struct OrtCustomOp* op);
-
3538
-
3539 // Returns the count and types of the input & output tensors
-
3540 ONNXTensorElementDataType(ORT_API_CALL* GetInputType)(_In_ const struct OrtCustomOp* op, _In_ size_t index);
-
3541 size_t(ORT_API_CALL* GetInputTypeCount)(_In_ const struct OrtCustomOp* op);
-
3542 ONNXTensorElementDataType(ORT_API_CALL* GetOutputType)(_In_ const struct OrtCustomOp* op, _In_ size_t index);
-
3543 size_t(ORT_API_CALL* GetOutputTypeCount)(_In_ const struct OrtCustomOp* op);
-
3544
-
3545 // Op kernel callbacks
-
3546 void(ORT_API_CALL* KernelCompute)(_In_ void* op_kernel, _In_ OrtKernelContext* context);
-
3547 void(ORT_API_CALL* KernelDestroy)(_In_ void* op_kernel);
-
3548
-
3549 // Returns the characteristics of the input & output tensors
-
3550 OrtCustomOpInputOutputCharacteristic(ORT_API_CALL* GetInputCharacteristic)(_In_ const struct OrtCustomOp* op, _In_ size_t index);
-
3551 OrtCustomOpInputOutputCharacteristic(ORT_API_CALL* GetOutputCharacteristic)(_In_ const struct OrtCustomOp* op, _In_ size_t index);
-
3552};
-
3553
-
3554/*
-
3555 * This is the old way to add the CUDA provider to the session, please use SessionOptionsAppendExecutionProvider_CUDA above to access the latest functionality
-
3556 * This function always exists, but will only succeed if Onnxruntime was built with CUDA support and the CUDA provider shared library exists
-
3557 *
-
3558 * \param device_id CUDA device id, starts from zero.
-
3559*/
-
3560ORT_API_STATUS(OrtSessionOptionsAppendExecutionProvider_CUDA, _In_ OrtSessionOptions* options, int device_id);
-
3561
-
3562/*
-
3563 * This is the old way to add the MIGraphX provider to the session, please use
-
3564 * SessionOptionsAppendExecutionProvider_MIGraphX above to access the latest functionality
-
3565 * This function always exists, but will only succeed if Onnxruntime was built with
-
3566 * HIP support and the MIGraphX provider shared library exists
-
3567 *
-
3568 * \param device_id HIP device id, starts from zero.
-
3569*/
-
3570ORT_API_STATUS(OrtSessionOptionsAppendExecutionProvider_MIGraphX, _In_ OrtSessionOptions* options, int device_id);
-
3571
-
3572#ifdef __cplusplus
-
3573}
-
3574#endif
-
3575
+
3468 ORT_API2_STATUS(SessionOptionsAppendExecutionProvider, _In_ OrtSessionOptions* options,
+
3469 _In_ const char* provider_name,
+
3470 _In_reads_(num_keys) const char* const* provider_options_keys,
+
3471 _In_reads_(num_keys) const char* const* provider_options_values,
+
3472 _In_ size_t num_keys);
+
3473
+
3474 /* \brief: Get a copy of kernel info
+
3475 *
+
3476 * \param[in] info Kernel info
+
3477 * \param[out] info_copy Copy of kernel info
+
3478 *
+
3479 * \since Version 1.12.
+
3480 */
+
3481 ORT_API2_STATUS(CopyKernelInfo,
+
3482 _In_ const OrtKernelInfo* info,
+
3483 _Outptr_ OrtKernelInfo** info_copy);
+
3484
+
3485 /* \brief: Release kernel info
+
3486 *
+
3487 * \param[in] KernelInfo A copy of kernel info returned by CopyKernelInfo
+
3488 *
+
3489 * \since Version 1.12.
+
3490 */
+
3491 ORT_CLASS_RELEASE(KernelInfo);
+
3492
+
3493 /* \brief: Get the training C Api
+
3494 *
+
3495 * \since Version 1.13
+
3496 */
+
3497 const OrtTrainingApi*(ORT_API_CALL* GetTrainingApi)(uint32_t version)NO_EXCEPTION ORT_ALL_ARGS_NONNULL;
+
3498
+
3499#ifdef __cplusplus
+
3500 OrtApi(const OrtApi&)=delete; // Prevent users from accidentally copying the API structure, it should always be passed as a pointer
+
3501#endif
+
3502};
+
3503
+
3504/*
+
3505 * Steps to use a custom op:
+
3506 * 1 Create an OrtCustomOpDomain with the domain name used by the custom ops
+
3507 * 2 Create an OrtCustomOp structure for each op and add them to the domain
+
3508 * 3 Call OrtAddCustomOpDomain to add the custom domain of ops to the session options
+
3509*/
+
3510
+
3511// Specifies some characteristics of inputs/outputs of custom ops:
+
3512// Specify if the inputs/outputs are one of:
+
3513// 1) Non-optional (input/output must be present in the node)
+
3514// 2) Optional (input/output may be absent in the node)
+
3515typedef enum OrtCustomOpInputOutputCharacteristic {
+
3516 // TODO: Support 'Variadic' inputs/outputs
+
3517 INPUT_OUTPUT_REQUIRED = 0,
+
3518 INPUT_OUTPUT_OPTIONAL,
+
3519} OrtCustomOpInputOutputCharacteristic;
+
3520
+
3521/*
+
3522 * The OrtCustomOp structure defines a custom op's schema and its kernel callbacks. The callbacks are filled in by
+
3523 * the implementor of the custom op.
+
3524*/
+
3525struct OrtCustomOp {
+
3526 uint32_t version; // Must be initialized to ORT_API_VERSION
+
3527
+
3528 // This callback creates the kernel, which is a user defined parameter that is passed to the Kernel* callbacks below.
+
3529 void*(ORT_API_CALL* CreateKernel)(_In_ const struct OrtCustomOp* op, _In_ const OrtApi* api,
+
3530 _In_ const OrtKernelInfo* info);
+
3531
+
3532 // Returns the name of the op
+
3533 const char*(ORT_API_CALL* GetName)(_In_ const struct OrtCustomOp* op);
+
3534
+
3535 // Returns the type of the execution provider, return nullptr to use CPU execution provider
+
3536 const char*(ORT_API_CALL* GetExecutionProviderType)(_In_ const struct OrtCustomOp* op);
+
3537
+
3538 // Returns the count and types of the input & output tensors
+
3539 ONNXTensorElementDataType(ORT_API_CALL* GetInputType)(_In_ const struct OrtCustomOp* op, _In_ size_t index);
+
3540 size_t(ORT_API_CALL* GetInputTypeCount)(_In_ const struct OrtCustomOp* op);
+
3541 ONNXTensorElementDataType(ORT_API_CALL* GetOutputType)(_In_ const struct OrtCustomOp* op, _In_ size_t index);
+
3542 size_t(ORT_API_CALL* GetOutputTypeCount)(_In_ const struct OrtCustomOp* op);
+
3543
+
3544 // Op kernel callbacks
+
3545 void(ORT_API_CALL* KernelCompute)(_In_ void* op_kernel, _In_ OrtKernelContext* context);
+
3546 void(ORT_API_CALL* KernelDestroy)(_In_ void* op_kernel);
+
3547
+
3548 // Returns the characteristics of the input & output tensors
+
3549 OrtCustomOpInputOutputCharacteristic(ORT_API_CALL* GetInputCharacteristic)(_In_ const struct OrtCustomOp* op, _In_ size_t index);
+
3550 OrtCustomOpInputOutputCharacteristic(ORT_API_CALL* GetOutputCharacteristic)(_In_ const struct OrtCustomOp* op, _In_ size_t index);
+
3551};
+
3552
+
3553/*
+
3554 * This is the old way to add the CUDA provider to the session, please use SessionOptionsAppendExecutionProvider_CUDA above to access the latest functionality
+
3555 * This function always exists, but will only succeed if Onnxruntime was built with CUDA support and the CUDA provider shared library exists
+
3556 *
+
3557 * \param device_id CUDA device id, starts from zero.
+
3558*/
+
3559ORT_API_STATUS(OrtSessionOptionsAppendExecutionProvider_CUDA, _In_ OrtSessionOptions* options, int device_id);
+
3560
+
3561/*
+
3562 * This is the old way to add the MIGraphX provider to the session, please use
+
3563 * SessionOptionsAppendExecutionProvider_MIGraphX above to access the latest functionality
+
3564 * This function always exists, but will only succeed if Onnxruntime was built with
+
3565 * HIP support and the MIGraphX provider shared library exists
+
3566 *
+
3567 * \param device_id HIP device id, starts from zero.
+
3568*/
+
3569ORT_API_STATUS(OrtSessionOptionsAppendExecutionProvider_MIGraphX, _In_ OrtSessionOptions* options, int device_id);
+
3570
+
3571#ifdef __cplusplus
+
3572}
+
3573#endif
+
3574
OrtStatus * OrtSessionOptionsAppendExecutionProvider_MIGraphX(OrtSessionOptions *options, int device_id)
const struct OrtCustomHandleType * OrtCustomThreadHandle
struct OrtMemoryInfo OrtMemoryInfo
Definition: onnxruntime_c_api.h:252
@@ -1259,7 +1259,7 @@ $(document).ready(function(){initNavTree('onnxruntime__c__api_8h_source.html',''
OrtLoggingLevel
Logging severity levels.
Definition: onnxruntime_c_api.h:207
void(* OrtLoggingFunction)(void *param, OrtLoggingLevel severity, const char *category, const char *logid, const char *code_location, const char *message)
Definition: onnxruntime_c_api.h:292
void(* OrtCustomJoinThreadFn)(OrtCustomThreadHandle ort_custom_thread_handle)
Custom thread join function.
Definition: onnxruntime_c_api.h:586
-
OrtCustomOpInputOutputCharacteristic
Definition: onnxruntime_c_api.h:3516
+
OrtCustomOpInputOutputCharacteristic
Definition: onnxruntime_c_api.h:3515
struct OrtTensorRTProviderOptionsV2 OrtTensorRTProviderOptionsV2
Definition: onnxruntime_c_api.h:268
struct OrtOpAttr OrtOpAttr
Definition: onnxruntime_c_api.h:271
struct OrtThreadingOptions OrtThreadingOptions
Definition: onnxruntime_c_api.h:265
@@ -1304,8 +1304,8 @@ $(document).ready(function(){initNavTree('onnxruntime__c__api_8h_source.html',''
@ ORT_LOGGING_LEVEL_ERROR
Error messages.
Definition: onnxruntime_c_api.h:211
@ ORT_LOGGING_LEVEL_WARNING
Warning messages.
Definition: onnxruntime_c_api.h:210
@ ORT_LOGGING_LEVEL_FATAL
Fatal error messages (most severe).
Definition: onnxruntime_c_api.h:212
-
@ INPUT_OUTPUT_REQUIRED
Definition: onnxruntime_c_api.h:3518
-
@ INPUT_OUTPUT_OPTIONAL
Definition: onnxruntime_c_api.h:3519
+
@ INPUT_OUTPUT_REQUIRED
Definition: onnxruntime_c_api.h:3517
+
@ INPUT_OUTPUT_OPTIONAL
Definition: onnxruntime_c_api.h:3518
@ ORT_PROJECTION_C
Definition: onnxruntime_c_api.h:317
@ ORT_PROJECTION_PYTHON
Definition: onnxruntime_c_api.h:320
@ ORT_PROJECTION_CPLUSPLUS
Definition: onnxruntime_c_api.h:318
@@ -1572,7 +1572,7 @@ $(document).ready(function(){initNavTree('onnxruntime__c__api_8h_source.html',''
OrtStatus * CreateOpAttr(const char *name, const void *data, int len, OrtOpAttrType type, OrtOpAttr **op_attr)
: Create attribute of onnxruntime operator
OrtStatus * FillSparseTensorBlockSparse(OrtValue *ort_value, const OrtMemoryInfo *data_mem_info, const int64_t *values_shape, size_t values_shape_len, const void *values, const int64_t *indices_shape_data, size_t indices_shape_len, const int32_t *indices_data)
OrtStatus * ModelMetadataGetVersion(const OrtModelMetadata *model_metadata, int64_t *value)
Get version number from an OrtModelMetadata.
-
const OrtTrainingApi *(* GetTrainingApi)(uint32_t version) __attribute__((nonnull))
Definition: onnxruntime_c_api.h:3498
+
const OrtTrainingApi *(* GetTrainingApi)(uint32_t version) __attribute__((nonnull))
Definition: onnxruntime_c_api.h:3497
OrtStatus * GetStringTensorContent(const OrtValue *value, void *s, size_t s_len, size_t *offsets, size_t offsets_len)
Get all strings from a string tensor.
OrtStatus * GetBoundOutputNames(const OrtIoBinding *binding_ptr, OrtAllocator *allocator, char **buffer, size_t **lengths, size_t *count)
Get the names of an OrtIoBinding's outputs.
OrtStatus * CreateTensorTypeAndShapeInfo(OrtTensorTypeAndShapeInfo **out)
Create an OrtTensorTypeAndShapeInfo object.
@@ -1601,19 +1601,19 @@ $(document).ready(function(){initNavTree('onnxruntime__c__api_8h_source.html',''
int device_id
CUDA device Id Defaults to 0.
Definition: onnxruntime_c_api.h:369
Definition: onnxruntime_c_api.h:572
char __place_holder
Definition: onnxruntime_c_api.h:572
-
Definition: onnxruntime_c_api.h:3526
-
OrtCustomOpInputOutputCharacteristic(* GetOutputCharacteristic)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3551
-
size_t(* GetInputTypeCount)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3541
-
const char *(* GetName)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3534
-
size_t(* GetOutputTypeCount)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3543
-
void(* KernelDestroy)(void *op_kernel)
Definition: onnxruntime_c_api.h:3547
-
void *(* CreateKernel)(const struct OrtCustomOp *op, const OrtApi *api, const OrtKernelInfo *info)
Definition: onnxruntime_c_api.h:3530
-
uint32_t version
Definition: onnxruntime_c_api.h:3527
-
ONNXTensorElementDataType(* GetInputType)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3540
-
OrtCustomOpInputOutputCharacteristic(* GetInputCharacteristic)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3550
-
const char *(* GetExecutionProviderType)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3537
-
ONNXTensorElementDataType(* GetOutputType)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3542
-
void(* KernelCompute)(void *op_kernel, OrtKernelContext *context)
Definition: onnxruntime_c_api.h:3546
+
Definition: onnxruntime_c_api.h:3525
+
OrtCustomOpInputOutputCharacteristic(* GetOutputCharacteristic)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3550
+
size_t(* GetInputTypeCount)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3540
+
const char *(* GetName)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3533
+
size_t(* GetOutputTypeCount)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3542
+
void(* KernelDestroy)(void *op_kernel)
Definition: onnxruntime_c_api.h:3546
+
void *(* CreateKernel)(const struct OrtCustomOp *op, const OrtApi *api, const OrtKernelInfo *info)
Definition: onnxruntime_c_api.h:3529
+
uint32_t version
Definition: onnxruntime_c_api.h:3526
+
ONNXTensorElementDataType(* GetInputType)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3539
+
OrtCustomOpInputOutputCharacteristic(* GetInputCharacteristic)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3549
+
const char *(* GetExecutionProviderType)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3536
+
ONNXTensorElementDataType(* GetOutputType)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3541
+
void(* KernelCompute)(void *op_kernel, OrtKernelContext *context)
Definition: onnxruntime_c_api.h:3545
MIGraphX Provider Options.
Definition: onnxruntime_c_api.h:506
int migraphx_int8_enable
Definition: onnxruntime_c_api.h:509
int migraphx_fp16_enable
Definition: onnxruntime_c_api.h:508
diff --git a/docs/api/c/onnxruntime__cxx__api_8h_source.html b/docs/api/c/onnxruntime__cxx__api_8h_source.html index 1b6b3f0bfe..7303f28788 100644 --- a/docs/api/c/onnxruntime__cxx__api_8h_source.html +++ b/docs/api/c/onnxruntime__cxx__api_8h_source.html @@ -844,7 +844,7 @@ $(document).ready(function(){initNavTree('onnxruntime__cxx__api_8h_source.html',
OrtLoggingLevel
Logging severity levels.
Definition: onnxruntime_c_api.h:207
void(* OrtLoggingFunction)(void *param, OrtLoggingLevel severity, const char *category, const char *logid, const char *code_location, const char *message)
Definition: onnxruntime_c_api.h:292
void(* OrtCustomJoinThreadFn)(OrtCustomThreadHandle ort_custom_thread_handle)
Custom thread join function.
Definition: onnxruntime_c_api.h:586
-
OrtCustomOpInputOutputCharacteristic
Definition: onnxruntime_c_api.h:3516
+
OrtCustomOpInputOutputCharacteristic
Definition: onnxruntime_c_api.h:3515
struct OrtTensorRTProviderOptionsV2 OrtTensorRTProviderOptionsV2
Definition: onnxruntime_c_api.h:268
struct OrtOpAttr OrtOpAttr
Definition: onnxruntime_c_api.h:271
struct OrtThreadingOptions OrtThreadingOptions
Definition: onnxruntime_c_api.h:265
@@ -877,7 +877,7 @@ $(document).ready(function(){initNavTree('onnxruntime__cxx__api_8h_source.html',
ONNXTensorElementDataType
Definition: onnxruntime_c_api.h:155
const OrtApiBase * OrtGetApiBase(void)
The Onnxruntime library's entry point to access the C API.
@ ORT_LOGGING_LEVEL_WARNING
Warning messages.
Definition: onnxruntime_c_api.h:210
-
@ INPUT_OUTPUT_REQUIRED
Definition: onnxruntime_c_api.h:3518
+
@ INPUT_OUTPUT_REQUIRED
Definition: onnxruntime_c_api.h:3517
@ ORT_FAIL
Definition: onnxruntime_c_api.h:217
All C++ Onnxruntime APIs are defined inside this namespace.
Definition: onnxruntime_cxx_api.h:34
std::unique_ptr< char, detail::AllocatedFree > AllocatedStringPtr
unique_ptr typedef used to own strings allocated by OrtAllocators and release them at the end of the ...
Definition: onnxruntime_cxx_api.h:269
@@ -1186,19 +1186,19 @@ $(document).ready(function(){initNavTree('onnxruntime__cxx__api_8h_source.html',
const OrtApi *(* GetApi)(uint32_t version)
Get a pointer to the requested version of the OrtApi.
Definition: onnxruntime_c_api.h:554
The C API.
Definition: onnxruntime_c_api.h:595
CUDA Provider Options.
Definition: onnxruntime_c_api.h:361
-
Definition: onnxruntime_c_api.h:3526
-
OrtCustomOpInputOutputCharacteristic(* GetOutputCharacteristic)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3551
-
size_t(* GetInputTypeCount)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3541
-
const char *(* GetName)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3534
-
size_t(* GetOutputTypeCount)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3543
-
void(* KernelDestroy)(void *op_kernel)
Definition: onnxruntime_c_api.h:3547
-
void *(* CreateKernel)(const struct OrtCustomOp *op, const OrtApi *api, const OrtKernelInfo *info)
Definition: onnxruntime_c_api.h:3530
-
uint32_t version
Definition: onnxruntime_c_api.h:3527
-
ONNXTensorElementDataType(* GetInputType)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3540
-
OrtCustomOpInputOutputCharacteristic(* GetInputCharacteristic)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3550
-
const char *(* GetExecutionProviderType)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3537
-
ONNXTensorElementDataType(* GetOutputType)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3542
-
void(* KernelCompute)(void *op_kernel, OrtKernelContext *context)
Definition: onnxruntime_c_api.h:3546
+
Definition: onnxruntime_c_api.h:3525
+
OrtCustomOpInputOutputCharacteristic(* GetOutputCharacteristic)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3550
+
size_t(* GetInputTypeCount)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3540
+
const char *(* GetName)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3533
+
size_t(* GetOutputTypeCount)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3542
+
void(* KernelDestroy)(void *op_kernel)
Definition: onnxruntime_c_api.h:3546
+
void *(* CreateKernel)(const struct OrtCustomOp *op, const OrtApi *api, const OrtKernelInfo *info)
Definition: onnxruntime_c_api.h:3529
+
uint32_t version
Definition: onnxruntime_c_api.h:3526
+
ONNXTensorElementDataType(* GetInputType)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3539
+
OrtCustomOpInputOutputCharacteristic(* GetInputCharacteristic)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3549
+
const char *(* GetExecutionProviderType)(const struct OrtCustomOp *op)
Definition: onnxruntime_c_api.h:3536
+
ONNXTensorElementDataType(* GetOutputType)(const struct OrtCustomOp *op, size_t index)
Definition: onnxruntime_c_api.h:3541
+
void(* KernelCompute)(void *op_kernel, OrtKernelContext *context)
Definition: onnxruntime_c_api.h:3545
MIGraphX Provider Options.
Definition: onnxruntime_c_api.h:506
OpenVINO Provider Options.
Definition: onnxruntime_c_api.h:516
ROCM Provider Options.
Definition: onnxruntime_c_api.h:420