v2.0.0
Loading...
Searching...
No Matches
ml_global.h File Reference

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

#include <utils/buildinfo.h>
#include <QtCore/qglobal.h>
Include dependency graph for ml_global.h:
This graph shows which files directly or indirectly include this file:

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 ()

Detailed Description

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

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.0
Date
April 2026

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.

Macro Definition Documentation

◆ MLSHARED_EXPORT

#define MLSHARED_EXPORT

Definition at line 48 of file ml_global.h.