18#include "GaudiKernel/StatusCode.h"
21#include "lwtnn/LightweightGraph.hh"
42 const std::map<std::string, std::map<std::string, double>>&
getScalarInputs()
const {
47 const std::map<std::string, std::map<std::string, std::vector<double>>>&
getVectorInputs()
const {
52 double evaluate(std::map<std::string, std::map<std::string, double>>& scalarInputs,
53 std::map<std::string, std::map<std::string, std::vector<double>>>& vectorInputs)
const {
58 double evaluate(std::map<std::string, std::map<std::string, double>>& scalarInputs,
59 std::map<std::string, std::map<std::string, std::vector<double>>>& vectorInputs,
60 const std::string& outputNode,
const std::string&
outputLabel)
const;
66 std::unique_ptr<lwt::LightweightGraph>
m_nn;
69 std::map<std::string, std::map<std::string, std::vector<double>>>
m_vectorInputs;
Hold mappings of ranges to condition objects.
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
const std::string outputLabel
const std::string & getDefaultOutputLabel() const
std::map< std::string, std::map< std::string, std::vector< double > > > m_vectorInputs
std::map< std::string, std::map< std::string, double > > m_scalarInputs
const std::string & getDefaultOutputNode() const
const std::map< std::string, std::map< std::string, double > > & getScalarInputs() const
lwt::GraphConfig m_nnConfig
virtual ~TRTPIDNN()=default
StatusCode configure(const std::string &json)
std::string m_outputLabel
double evaluate(std::map< std::string, std::map< std::string, double > > &scalarInputs, std::map< std::string, std::map< std::string, std::vector< double > > > &vectorInputs) const
std::unique_ptr< lwt::LightweightGraph > m_nn
const std::map< std::string, std::map< std::string, std::vector< double > > > & getVectorInputs() const