microsoft/onnxruntime-extensions

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
46efcb905149a83982e8565bdd1ea2758d6f9290

Branches

Tags

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

Clone

HTTPS

Download ZIP

includes/onnxruntime_extensions.h

21lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License.
3
4#pragma once
5#include "onnxruntime_c_api.h"
6
7#ifdef _WIN32
8#define ORTX_EXPORT __declspec(dllexport)
9#else
10#define ORTX_EXPORT
11#endif
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17ORTX_EXPORT OrtStatus* ORT_API_CALL RegisterCustomOps(OrtSessionOptions* options, const OrtApiBase* api);
18
19#ifdef __cplusplus
20}
21#endif
22