mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-19 02:03:52 +00:00
* Mention OrtCreateSessionFromArray in C API doc * c api changes after review (1) * updates... * fixes * Reorder include
15 lines
No EOL
323 B
C++
15 lines
No EOL
323 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
#pragma once
|
|
|
|
namespace onnxruntime {
|
|
struct OrtCallback {
|
|
void (*f)(void* param) noexcept;
|
|
void* param;
|
|
};
|
|
|
|
/**
|
|
* f will be freed in this call
|
|
*/
|
|
void OrtRunCallback(OrtCallback* f) noexcept;
|
|
} // namespace onnxruntime
|