44#include <QSharedPointer>
60 typedef QSharedPointer<MlModel>
SPtr;
84 virtual bool save(
const QString& path)
const = 0;
93 virtual bool load(
const QString& path) = 0;
Strongly typed enumerations describing the ML backend, tensor element type and inference task.
N-dimensional, row-major, reference-counted float32 tensor used as the universal MLLIB data carrier.
Export/import macros, build-stamp accessors and namespace anchor for the MLLIB machine-learning libra...
Tensors, model abstraction, ONNX Runtime inference and Python training drivers used across mne-cpp.
Backend-agnostic inference interface: load, predict, save plus model/task descriptors.
virtual MlTensor predict(const MlTensor &input) const =0
virtual MlTaskType taskType() const =0
virtual bool load(const QString &path)=0
virtual QString modelType() const =0
QSharedPointer< MlModel > SPtr
virtual bool save(const QString &path) const =0
virtual ~MlModel()=default
N-dimensional row-major float32 tensor with shared-buffer storage, Eigen Map accessors and a non-owni...