Create and own custom defined operation.
More...
#include <onnxruntime_cxx_api.h>
|
static Op | Create (const OrtKernelInfo *info, const char *op_name, const char *domain, int version, const char **type_constraint_names, const ONNXTensorElementDataType *type_constraint_values, size_t type_constraint_count, const OpAttr *attr_values, size_t attr_count, size_t input_count, size_t output_count) |
|
Create and own custom defined operation.
Definition at line 2136 of file onnxruntime_cxx_api.h.
Ort::Op::Op |
( |
std::nullptr_t |
| ) |
|
|
inlineexplicit |
Create an empty Operator object, must be assigned a valid one to be used.
Definition at line 2137 of file onnxruntime_cxx_api.h.
Take ownership of the OrtOp.
static Op Ort::Op::Create |
( |
const OrtKernelInfo * |
info, |
|
|
const char * |
op_name, |
|
|
const char * |
domain, |
|
|
int |
version, |
|
|
const char ** |
type_constraint_names, |
|
|
const ONNXTensorElementDataType * |
type_constraint_values, |
|
|
size_t |
type_constraint_count, |
|
|
const OpAttr * |
attr_values, |
|
|
size_t |
attr_count, |
|
|
size_t |
input_count, |
|
|
size_t |
output_count |
|
) |
| |
|
static |
void Ort::Op::Invoke |
( |
const OrtKernelContext * |
context, |
|
|
const Value * |
input_values, |
|
|
size_t |
input_count, |
|
|
Value * |
output_values, |
|
|
size_t |
output_count |
|
) |
| |
void Ort::Op::Invoke |
( |
const OrtKernelContext * |
context, |
|
|
const OrtValue *const * |
input_values, |
|
|
size_t |
input_count, |
|
|
OrtValue *const * |
output_values, |
|
|
size_t |
output_count |
|
) |
| |
The documentation for this struct was generated from the following file: