8 #include "lwtnn/LightweightNeuralNetwork.hh" 9 #include "lwtnn/parse_json.hh" 31 : fileName_(iConfig.getParameter<
edm::FileInPath>(
"fileName")) {
40 descriptions.
add(
"lwtnnESProducer",
desc);
46 return std::make_unique<lwt::LightweightNeuralNetwork>(
config.inputs,
config.layers,
config.outputs);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
T getParameter(std::string const &) const
std::string fullPath() const
~LwtnnESProducer() override=default
LwtnnESProducer(const edm::ParameterSet &iConfig)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< lwt::LightweightNeuralNetwork > produce(const TrackingComponentsRecord &iRecord)
edm::FileInPath fileName_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)