Export/import macros, build-stamp accessors and namespace anchor for the MLLIB machine-learning library. More...


Go to the source code of this file.
Namespaces | |
| namespace | MLLIB |
| Tensors, model abstraction, ONNX Runtime inference and Python training drivers used across mne-cpp. | |
Macros | |
| #define | MLSHARED_EXPORT |
Functions | |
| MLSHARED_EXPORT const char * | MLLIB::buildDateTime () |
| MLSHARED_EXPORT const char * | MLLIB::buildHash () |
| MLSHARED_EXPORT const char * | MLLIB::buildHashLong () |
Export/import macros, build-stamp accessors and namespace anchor for the MLLIB machine-learning library.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
MLLIB is the thin C++ surface mne-cpp puts around third-party ML runtimes (currently ONNX Runtime) and Python-side training drivers. The library deliberately stays small: an N-dimensional tensor type, an abstract model interface, an ONNX inference backend and a QProcess-based trainer wrapper. Anything heavier (graph optimisation, autodiff, GPU kernels) is delegated to the underlying runtime to keep the mne-cpp build tractable on every supported platform, including WebAssembly where the trainer compiles out.
This header exposes only the symbol-visibility macro MLSHARED_EXPORT and the three build-stamp accessors used by the application about-boxes; pull it from every public declaration so the library can be linked as shared (Qt default), static (STATICBUILD) or imported by clients without code changes.
Definition in file ml_global.h.
| #define MLSHARED_EXPORT |
Definition at line 48 of file ml_global.h.