Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
 
/** C API type forward declaration. */
struct OrtStatus;
 
/** C API type forward declaration. */
struct OrtApiBase;
 
/** C API type forward declaration. */
struct OrtSessionOptions;
 
/**
 * Pointer to a custom op registration function that uses the ONNX Runtime C API.
 *
 * The signature is defined in the ONNX Runtime C API:
 * https://github.com/microsoft/onnxruntime/blob/67f4cd54fab321d83e4a75a40efeee95a6a17079/include/onnxruntime/core/session/onnxruntime_c_api.h#L697
 *
 * This is a low-level type intended for interoperating with libraries which provide such a function for custom op
 * registration, such as [ONNX Runtime Extensions](https://github.com/microsoft/onnxruntime-extensions).
 */
typedef struct OrtStatus* (*ORTCAPIRegisterCustomOpsFnPtr)(struct OrtSessionOptions* /*options*/,
                                                           const struct OrtApiBase* /*api*/);