11#include <OpenMS/config.h>
34 explicit PeptDeepRTInference(
const std::string& model_path,
int intra_op_threads = 4,
size_t batch_size = 500);
47 std::vector<float>
predictRT(
const std::vector<std::string>& peptides);
Owns the ONNX Runtime session of one model file, for the predictors built on it.
Definition ONNXPredictorBase.h:36
Predicts peptide retention times with the PeptDeep RT model (peptdeep_rt_dynamic.onnx)
Definition PeptDeepRTInference.h:26
size_t batch_size_
Definition PeptDeepRTInference.h:51
PeptDeepRTInference(const std::string &model_path, int intra_op_threads=4, size_t batch_size=500)
Constructor initializes the ONNX environment and loads the model.
~PeptDeepRTInference()
Destructor.
ONNXPredictorBase model_
Definition PeptDeepRTInference.h:50
std::vector< float > predictRT(const std::vector< std::string > &peptides)
Predicts Retention Times for a list of peptide sequences.
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19