LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "PointIdAlg.h"
Public Member Functions | |
virtual | ~ModelInterface (void) |
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 | |
ModelInterface (void) | |
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 49 of file PointIdAlg.h.
|
inlinevirtual |
|
inlineprotected |
|
protected |
Definition at line 51 of file PointIdAlg.cxx.
References art::errors::NotFound.
Referenced by ModelInterface(), and nnet::TfModelInterface::TfModelInterface().
|
pure virtual |
Implemented in nnet::TfModelInterface, and nnet::KerasModelInterface.
Referenced by nnet::PointIdAlg::predictIdValue(), nnet::PointIdAlg::predictIdVector(), nnet::PointIdAlg::predictIdVectors(), Run(), and ~ModelInterface().
|
virtual |
Reimplemented in nnet::TfModelInterface.
Definition at line 35 of file PointIdAlg.cxx.
References Run(), and lar::dump::vector().