5#ifndef FLAVORTAGINFERENCE_ISALTMODEL_H
6#define FLAVORTAGINFERENCE_ISALTMODEL_H
17#include "nlohmann/json.hpp"
35 using Inputs = std::pair<std::vector<float>, std::vector<int64_t>>;
40 std::map<std::string, std::vector<char>>
vecChar;
41 std::map<std::string, std::vector<float>>
vecFloat;
virtual const SaltModelGraphConfig::GraphConfig getGraphConfig() const =0
virtual const std::string & getModelName() const =0
virtual SaltModelVersion getSaltModelVersion() const =0
virtual InferenceOutput runInference(std::map< std::string, Inputs > &gnn_inputs) const =0
virtual const OutputConfig & getOutputConfig() const =0
This file contains "getter" functions used for accessing tagger inputs from the EDM.
std::vector< SaltModelOutput > OutputConfig
NLOHMANN_JSON_SERIALIZE_ENUM(SaltModelVersion, { { SaltModelVersion::UNKNOWN, "" }, { SaltModelVersion::V0, "v0" }, { SaltModelVersion::V1, "v1" }, { SaltModelVersion::V2, "v2" }, }) using Inputs
std::pair< std::vector< float >, std::vector< int64_t > > Inputs
std::shared_ptr< const ISaltModel > ISaltModelPtr
std::map< std::string, std::vector< char > > vecChar
std::map< std::string, float > singleFloat
std::map< std::string, std::vector< float > > vecFloat