microsoft/onnxruntime-extensions
Publicmirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable
includes/ocos.h
18lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #define ORT_API_MANUAL_INIT |
| 7 | #define EXCLUDE_REFERENCE_TO_ORT_DLL |
| 8 | #include "onnxruntime_cxx_api.h" |
| 9 | #undef EXCLUDE_REFERENCE_TO_ORT_DLL |
| 10 | #undef ORT_API_MANUAL_INIT |
| 11 | |
| 12 | const char c_OpDomain[] = "ai.onnx.contrib"; |
| 13 | |
| 14 | #if defined(PYTHON_OP_SUPPORT) |
| 15 | |
| 16 | const OrtCustomOp* FetchPyCustomOps(size_t& count); |
| 17 | |
| 18 | #endif |
| 19 | |