LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "PointIdAlg.h"
Public Member Functions | |
virtual | ~ModelInterface () |
virtual std::vector< float > | Run (std::vector< std::vector< float >> const &inp2d)=0 |
virtual std::vector< std::vector< float > > | Run (std::vector< std::vector< std::vector< float >>> const &inps, int samples=-1) |
Protected Member Functions | |
std::string | findFile (const char *fileName) const |
Interface class for various classifier models. Now MLP (NetMaker) and CNN (Keras with simple cpp interface) are supported. Will add interface to Protobuf as soon as Tensorflow may be used from UPS.
Definition at line 60 of file PointIdAlg.h.
|
inlinevirtual |
|
protected |
Definition at line 67 of file PointIdAlg.cxx.
References art::errors::NotFound.
Referenced by nnet::TfModelInterface::TfModelInterface().
|
pure virtual |
Implemented in nnet::TfModelInterface, and nnet::KerasModelInterface.
Referenced by nnet::PointIdAlg::predictIdValue(), nnet::PointIdAlg::predictIdVector(), nnet::PointIdAlg::predictIdVectors(), and Run().
|
virtual |
Reimplemented in nnet::TfModelInterface.
Definition at line 51 of file PointIdAlg.cxx.
References Run(), and lar::dump::vector().