microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
c7b2f864c65a0269e909738bc6b704f1d1db33a0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

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
12const char c_OpDomain[] = "ai.onnx.contrib";
13
14#if defined(PYTHON_OP_SUPPORT)
15
16const OrtCustomOp* FetchPyCustomOps(size_t& count);
17
18#endif
19